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, isValidIndex, removeProperty, setStartBlockpublic 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 BATManagedpublic void writeBlocks(java.io.OutputStream stream)
throws java.io.IOException
writeBlocks in interface BlockWritablestream - the OutputStream to which the stored data should
be writtenjava.io.IOException - on problems writing to the specified
streamCopyright 2018 The Apache Software Foundation or its licensors, as applicable.