| |
|
| java.lang.Object org.apache.poi.poifs.property.PropertyTable
PropertyTable | public class PropertyTable implements BATManaged,BlockWritable(Code) | | This class embodies the Property Table for the filesystem; this is
basically the dsirectory for all of the documents in the
filesystem.
author: Marc Johnson (mjohnson at apache dot org) |
Constructor Summary | |
public | PropertyTable() | public | PropertyTable(int startBlock, RawDataBlockList blockList) reading constructor (used when we've read in a file and we want
to extract the property table from it). |
PropertyTable | public PropertyTable()(Code) | | Default constructor
|
PropertyTable | public PropertyTable(int startBlock, RawDataBlockList blockList) throws IOException(Code) | | reading constructor (used when we've read in a file and we want
to extract the property table from it). Populates the
properties thoroughly
Parameters: startBlock - the first block of the property table Parameters: blockList - the list of blocks exception: IOException - if anything goes wrong (which should bea result of the input being NFG) |
addProperty | public void addProperty(Property property)(Code) | | Add a property to the list of properties we manage
Parameters: property - the new Property to manage |
countBlocks | public int countBlocks()(Code) | | Return the number of BigBlock's this instance uses
count of BigBlock instances |
getStartBlock | public int getStartBlock()(Code) | | Get the start block for the property table
start block index |
preWrite | public void preWrite()(Code) | | Prepare to be written
|
removeProperty | public void removeProperty(Property property)(Code) | | Remove a property from the list of properties we manage
Parameters: property - the Property to be removed |
setStartBlock | public void setStartBlock(int index)(Code) | | Set the start block for this instance
Parameters: index - index into the array of BigBlock instances makingup the the filesystem |
writeBlocks | public void writeBlocks(OutputStream stream) throws IOException(Code) | | Write the storage to an OutputStream
Parameters: stream - the OutputStream to which the stored data shouldbe written exception: IOException - on problems writing to the specifiedstream |
|
|
|