POIFSViewable, Childpublic class DocumentProperty extends Property
_NO_INDEX, _NODE_BLACK, _NODE_RED| Modifier | Constructor | Description |
|---|---|---|
protected |
DocumentProperty(int index,
byte[] array,
int offset) |
reader constructor
|
|
DocumentProperty(java.lang.String name,
int size) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
POIFSDocument |
getDocument() |
get the POIFSDocument
|
boolean |
isDirectory() |
|
protected void |
preWrite() |
Perform whatever activities need to be performed prior to
writing
|
void |
setDocument(POIFSDocument doc) |
set the POIFSDocument
|
boolean |
shouldUseSmallBlocks() |
give method more visibility
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildIndex, getIndex, getName, getNextChild, getPreviousChild, getShortDescription, getSize, getStartBlock, getStorageClsid, getViewableArray, getViewableIterator, isSmall, preferArray, setChildProperty, setIndex, setName, setNextChild, setNodeColor, setPreviousChild, setPropertyType, setSize, setStartBlock, setStorageClsid, writeDatapublic DocumentProperty(java.lang.String name,
int size)
name - POIFSDocument namesize - POIFSDocument sizeprotected DocumentProperty(int index,
byte[] array,
int offset)
index - index numberarray - byte dataoffset - offset into byte datapublic void setDocument(POIFSDocument doc)
doc - the associated POIFSDocumentpublic POIFSDocument getDocument()
public boolean shouldUseSmallBlocks()
shouldUseSmallBlocks in class Propertypublic boolean isDirectory()
isDirectory in class PropertyCopyright 2018 The Apache Software Foundation or its licensors, as applicable.