public class DocumentNode extends EntryNode implements DocumentEntry, POIFSViewable
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getShortDescription()
Provides a short description of the object, to be used when a
 POIFSViewable object has not provided its contents. 
 | 
int | 
getSize()
get the zize of the document, in bytes 
 | 
java.lang.Object[] | 
getViewableArray()
Get an array of objects, some of which may implement
 POIFSViewable 
 | 
java.util.Iterator<java.lang.Object> | 
getViewableIterator()
Get an Iterator of objects, some of which may implement
 POIFSViewable 
 | 
protected boolean | 
isDeleteOK()
extensions use this method to verify internal rules regarding
 deletion of the underlying store. 
 | 
boolean | 
isDocumentEntry()
is this a DocumentEntry? 
 | 
boolean | 
preferArray()
Give viewers a hint as to whether to call getViewableArray or
 getViewableIterator 
 | 
delete, getName, getParent, getProperty, isDirectoryEntry, isRoot, renameTopublic int getSize()
getSize in interface DocumentEntrypublic boolean isDocumentEntry()
isDocumentEntry in interface EntryisDocumentEntry in class EntryNodeprotected boolean isDeleteOK()
isDeleteOK in class EntryNodepublic java.lang.Object[] getViewableArray()
getViewableArray in interface POIFSViewablepublic java.util.Iterator<java.lang.Object> getViewableIterator()
getViewableIterator in interface POIFSViewablepublic boolean preferArray()
preferArray in interface POIFSViewablepublic java.lang.String getShortDescription()
getShortDescription in interface POIFSViewableCopyright 2021 The Apache Software Foundation or its licensors, as applicable.