public interface Entry
Modifier and Type | Method and Description |
---|---|
boolean |
delete()
Delete this Entry.
(删除此条目。)
|
java.lang.String |
getName()
get the name of the Entry
(获取条目的名称)
|
DirectoryEntry |
getParent()
get this Entry's parent (the DirectoryEntry that owns this Entry).
(获取此条目的父项(拥有此条目的 DirectoryEntry)。)
|
boolean |
isDirectoryEntry()
is this a DirectoryEntry?
(这是一个目录条目吗?)
|
boolean |
isDocumentEntry()
is this a DocumentEntry?
(这是一个 DocumentEntry 吗?)
|
boolean |
renameTo(java.lang.String newName)
Rename this Entry.
(重命名此条目。)
|
java.lang.String getName()
boolean isDirectoryEntry()
boolean isDocumentEntry()
DirectoryEntry getParent()
boolean delete()
boolean renameTo(java.lang.String newName)
newName
- the new name for this Entry
(newName - 此条目的新名称)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.