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, renameTo
public int getSize()
getSize
in interface DocumentEntry
public boolean isDocumentEntry()
isDocumentEntry
in interface Entry
isDocumentEntry
in class EntryNode
protected boolean isDeleteOK()
isDeleteOK
in class EntryNode
public java.lang.Object[] getViewableArray()
getViewableArray
in interface POIFSViewable
public java.util.Iterator<java.lang.Object> getViewableIterator()
getViewableIterator
in interface POIFSViewable
public boolean preferArray()
preferArray
in interface POIFSViewable
public java.lang.String getShortDescription()
getShortDescription
in interface POIFSViewable
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.