|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.poifs.property.PropertyTableBase org.apache.poi.poifs.property.PropertyTable
public final class PropertyTable
This class embodies the Property Table for the POIFSFileSystem
;
this is basically the directory for all of the documents in the
filesystem.
Field Summary |
---|
Fields inherited from class org.apache.poi.poifs.property.PropertyTableBase |
---|
_properties |
Constructor Summary | |
---|---|
PropertyTable(HeaderBlock headerBlock)
|
|
PropertyTable(HeaderBlock headerBlock,
RawDataBlockList blockList)
reading constructor (used when we've read in a file and we want to extract the property table from it). |
Method Summary | |
---|---|
int |
countBlocks()
Return the number of BigBlock's this instance uses |
void |
preWrite()
Prepare to be written |
void |
writeBlocks(java.io.OutputStream stream)
Write the storage to an OutputStream |
Methods inherited from class org.apache.poi.poifs.property.PropertyTableBase |
---|
addProperty, getRoot, getStartBlock, removeProperty, setStartBlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyTable(HeaderBlock headerBlock)
public PropertyTable(HeaderBlock headerBlock, RawDataBlockList blockList) throws java.io.IOException
headerBlock
- the header block of the fileblockList
- the list of blocks
java.io.IOException
- if anything goes wrong (which should be
a result of the input being NFG)Method Detail |
---|
public void preWrite()
public int countBlocks()
countBlocks
in interface BATManaged
public void writeBlocks(java.io.OutputStream stream) throws java.io.IOException
writeBlocks
in interface BlockWritable
stream
- the OutputStream to which the stored data should
be written
java.io.IOException
- on problems writing to the specified
stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |