public final class PropertyTable extends PropertyTableBase implements BlockWritable
POIFSFileSystem
;
this is basically the directory for all of the documents in the
filesystem._properties
Constructor and Description |
---|
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).
|
Modifier and Type | Method and Description |
---|---|
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
|
addProperty, getRoot, getStartBlock, removeProperty, setStartBlock
public PropertyTable(HeaderBlock headerBlock)
public PropertyTable(HeaderBlock headerBlock, RawDataBlockList blockList) throws java.io.IOException
headerBlock
- the header block of the fileblockList
- the list of blocksjava.io.IOException
- if anything goes wrong (which should be
a result of the input being NFG)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 writtenjava.io.IOException
- on problems writing to the specified
streamCopyright © 2005-2010 Potix Corporation. All Rights Reserved.