public class DocumentProperty extends Property
| Constructor and Description |
|---|
DocumentProperty(String name,
int size)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
POIFSDocument |
getDocument()
get the POIFSDocument
|
boolean |
isDirectory() |
void |
setDocument(POIFSDocument doc)
set the POIFSDocument
|
boolean |
shouldUseSmallBlocks()
give method more visibility
|
void |
updateSize(int size)
Update the size of the property's data
|
getName, getNextChild, getPreviousChild, getShortDescription, getSize, getStartBlock, getStorageClsid, getViewableArray, getViewableIterator, isSmall, preferArray, setNextChild, setPreviousChild, setStartBlock, setStorageClsid, writeDatapublic DocumentProperty(String name, int size)
name - POIFSDocument namesize - POIFSDocument sizepublic void setDocument(POIFSDocument doc)
doc - the associated POIFSDocumentpublic POIFSDocument getDocument()
public boolean shouldUseSmallBlocks()
shouldUseSmallBlocks in class Propertypublic boolean isDirectory()
isDirectory in class Propertypublic void updateSize(int size)
Copyright © 2010 - 2020 Adobe. All Rights Reserved