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 |
---|---|
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, 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(POIFSDocument doc)
doc
- the associated POIFSDocumentpublic POIFSDocument getDocument()
public boolean shouldUseSmallBlocks()
shouldUseSmallBlocks
in class Property
public boolean isDirectory()
isDirectory
in class Property
Copyright © 2020. All rights reserved.