public class DocumentProperty extends Property
_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 |
---|---|
OPOIFSDocument |
getDocument()
get the POIFSDocument
|
boolean |
isDirectory() |
protected void |
preWrite()
Perform whatever activities need to be performed prior to
writing
|
void |
setDocument(OPOIFSDocument doc)
set the POIFSDocument
|
boolean |
shouldUseSmallBlocks()
give method more visibility
|
void |
updateSize(int size)
Update the size of the property's data
|
getChildIndex, getIndex, getName, getNextChild, getPreviousChild, getShortDescription, getSize, getStartBlock, getStorageClsid, getViewableArray, getViewableIterator, isSmall, preferArray, setChildProperty, setIndex, setName, setNextChild, setNodeColor, setPreviousChild, setPropertyType, setSize, setStartBlock, setStorageClsid, writeData
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(OPOIFSDocument doc)
doc
- the associated POIFSDocumentpublic OPOIFSDocument getDocument()
public boolean shouldUseSmallBlocks()
shouldUseSmallBlocks
in class Property
public boolean isDirectory()
isDirectory
in class Property
protected void preWrite()
public void updateSize(int size)
Copyright © 2007-2019. All Rights Reserved.