|
||||||||||
| 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()
| Constructor Summary | |
|---|---|
protected |
EntryNode(Property property,
DirectoryNode parent)
create a DocumentNode. |
| 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). |
protected Property |
getProperty()
grant access to the property |
protected abstract boolean |
isDeleteOK()
extensions use this method to verify internal rules regarding deletion of the underlying store. |
boolean |
isDirectoryEntry()
is this a DirectoryEntry? |
boolean |
isDocumentEntry()
is this a DocumentEntry? |
protected boolean |
isRoot()
is this the root of the tree? |
boolean |
renameTo(java.lang.String newName)
Rename this Entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EntryNode(Property property,
DirectoryNode parent)
property - the Property for this Entryparent - the parent of this entry| Method Detail |
|---|
protected Property getProperty()
protected boolean isRoot()
protected abstract boolean isDeleteOK()
public java.lang.String getName()
getName in interface Entrypublic boolean isDirectoryEntry()
isDirectoryEntry in interface Entrypublic boolean isDocumentEntry()
isDocumentEntry in interface Entrypublic DirectoryEntry getParent()
getParent in interface Entrypublic boolean delete()
delete in interface Entrypublic boolean renameTo(java.lang.String newName)
renameTo in interface EntrynewName - the new name for this Entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||