|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.poifs.filesystem.EntryNode
public abstract class EntryNode
Abstract implementation of Entry Extending classes should override isDocument() or isDirectory(), as appropriate Extending classes must override isDeleteOK()
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 DocumentEntry 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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
getName
in interface Entry
public boolean isDirectoryEntry()
isDirectoryEntry
in interface Entry
public boolean isDocumentEntry()
isDocumentEntry
in interface Entry
public DirectoryEntry getParent()
getParent
in interface Entry
public boolean delete()
delete
in interface Entry
public boolean renameTo(java.lang.String newName)
renameTo
in interface Entry
newName
- the new name for this Entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |