Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache.poi.poifs » property » [javadoc | source]
org.apache.poi.poifs.property
public class: PropertyTable [javadoc | source]
java.lang.Object
   org.apache.poi.poifs.property.PropertyTable

All Implemented Interfaces:
    BlockWritable, BATManaged

This class embodies the Property Table for the filesystem; this is basically the dsirectory for all of the documents in the filesystem.
Constructor:
 public PropertyTable() 
 public PropertyTable(int startBlock,
    RawDataBlockList blockList) throws IOException 
    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
    blockList - the list of blocks
    Throws:
    IOException - if anything goes wrong (which should be a result of the input being NFG)
    exception: IOException - if anything goes wrong (which should be a result of the input being NFG)
Method from org.apache.poi.poifs.property.PropertyTable Summary:
addProperty,   countBlocks,   getRoot,   getStartBlock,   preWrite,   removeProperty,   setStartBlock,   writeBlocks
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.poifs.property.PropertyTable Detail:
 public  void addProperty(Property property) 
    Add a property to the list of properties we manage
 public int countBlocks() 
    Return the number of BigBlock's this instance uses
 public RootProperty getRoot() 
    Get the root property
 public int getStartBlock() 
    Get the start block for the property table
 public  void preWrite() 
    Prepare to be written
 public  void removeProperty(Property property) 
    Remove a property from the list of properties we manage
 public  void setStartBlock(int index) 
    Set the start block for this instance
 public  void writeBlocks(OutputStream stream) throws IOException 
    Write the storage to an OutputStream