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(OutputStream stream)
Write the storage to an OutputStream
|
addProperty, getRoot, getStartBlock, removeProperty, setStartBlock
public PropertyTable(HeaderBlock headerBlock)
public PropertyTable(HeaderBlock headerBlock, RawDataBlockList blockList) throws IOException
headerBlock
- the header block of the fileblockList
- the list of blocksIOException
- 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(OutputStream stream) throws IOException
writeBlocks
in interface BlockWritable
stream
- the OutputStream to which the stored data should
be writtenIOException
- on problems writing to the specified
streamCopyright © 2020. All rights reserved.