|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.poifs.property.Property org.apache.poi.poifs.property.DocumentProperty
public class DocumentProperty
Trivial extension of Property for POIFSDocuments
Field Summary |
---|
Fields inherited from class org.apache.poi.poifs.property.Property |
---|
_NO_INDEX, _NODE_BLACK, _NODE_RED |
Constructor Summary | |
---|---|
protected |
DocumentProperty(int index,
byte[] array,
int offset)
reader constructor |
|
DocumentProperty(java.lang.String name,
int size)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.poi.poifs.property.Property |
---|
getChildIndex, getIndex, getName, getNextChild, getPreviousChild, getShortDescription, getSize, getStartBlock, getStorageClsid, getViewableArray, getViewableIterator, isSmall, preferArray, setChildProperty, setIndex, setName, setNextChild, setNodeColor, setPreviousChild, setPropertyType, setSize, setStartBlock, setStorageClsid, writeData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 dataMethod Detail |
---|
public void setDocument(POIFSDocument doc)
doc
- the associated POIFSDocumentpublic POIFSDocument getDocument()
public boolean shouldUseSmallBlocks()
shouldUseSmallBlocks
in class Property
public boolean isDirectory()
isDirectory
in class Property
protected void preWrite()
preWrite
in class Property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |