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

All Implemented Interfaces:
    BlockWritable, BATManaged

This class implements storage for writing the small blocks used by small documents.
Constructor:
 public SmallBlockTableWriter(List documents,
    RootProperty root) 
    Creates new SmallBlockTable
    Parameters:
    documents - a List of POIFSDocument instances
    root - the Filesystem's root property
Method from org.apache.poi.poifs.storage.SmallBlockTableWriter Summary:
countBlocks,   getSBAT,   getSBATBlockCount,   setStartBlock,   writeBlocks
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.poifs.storage.SmallBlockTableWriter Detail:
 public int countBlocks() 
    Return the number of BigBlock's this instance uses
 public BlockAllocationTableWriter getSBAT() 
    Get the SBAT
 public int getSBATBlockCount() 
    Get the number of SBAT blocks
 public  void setStartBlock(int start_block) 
    Set the start block for this instance
 public  void writeBlocks(OutputStream stream) throws IOException 
    Write the storage to an OutputStream