public class DocumentProperty extends Property
Modifier and Type | Field and Description |
---|---|
private POIFSDocument |
_document |
_NO_INDEX, _NODE_BLACK, _NODE_RED
Modifier | Constructor and Description |
---|---|
protected |
DocumentProperty(int index,
byte[] array,
int offset)
reader constructor
|
|
DocumentProperty(String name,
int size)
Constructor
|
Modifier and Type | Method and 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
|
getChildIndex, getIndex, getName, getNextChild, getNextChildIndex, getPreviousChild, getPreviousChildIndex, getShortDescription, getSize, getStartBlock, getStorageClsid, getViewableArray, getViewableIterator, isSmall, isValidIndex, preferArray, setChildProperty, setIndex, setName, setNextChild, setNodeColor, setPreviousChild, setPropertyType, setSize, setStartBlock, setStorageClsid, writeData
private POIFSDocument _document
public DocumentProperty(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 Property
public boolean isDirectory()
isDirectory
in class Property
Copyright © 2015 Open Microscopy Environment