|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entry
This interface provides access to an object managed by a Filesystem instance. Entry objects are further divided into DocumentEntry and DirectoryEntry instances.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |