DirectoryEntry
, DocumentEntry
DirectoryNode
, DocumentNode
, EntryNode
, FilteringDirectoryNode
public interface Entry
Modifier and Type | Method | 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).
|
boolean |
isDirectoryEntry() |
is this a DirectoryEntry?
|
boolean |
isDocumentEntry() |
is this a 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 EntryCopyright 2018 The Apache Software Foundation or its licensors, as applicable.