public class DocumentNode extends EntryNode implements DocumentEntry, POIFSViewable
Modifier and Type | Method and Description |
---|---|
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
|
Object[] |
getViewableArray()
Get an array of objects, some of which may implement
POIFSViewable
|
Iterator |
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 Object[] getViewableArray()
getViewableArray
in interface POIFSViewable
public Iterator getViewableIterator()
getViewableIterator
in interface POIFSViewable
public boolean preferArray()
preferArray
in interface POIFSViewable
public String getShortDescription()
getShortDescription
in interface POIFSViewable
Copyright © 2020. All rights reserved.