Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.poi.poifs » storage » [javadoc | source]
org.apache.cocoon.poi.poifs.storage
class: BlockListImpl [javadoc | source]
java.lang.Object
   org.apache.cocoon.poi.poifs.storage.BlockListImpl

All Implemented Interfaces:
    BlockList

Direct Known Subclasses:
    SmallDocumentBlockList, LocalRawDataBlockList, RawDataBlockList

A simple implementation of BlockList
Constructor:
 protected BlockListImpl() 
Method from org.apache.cocoon.poi.poifs.storage.BlockListImpl Summary:
fetchBlocks,   remove,   setBAT,   setBlocks,   zap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.poifs.storage.BlockListImpl Detail:
 public ListManagedBlock[] fetchBlocks(int startBlock) throws IOException 
    get the blocks making up a particular stream in the list. The blocks are removed from the list.
 public ListManagedBlock remove(int index) throws IOException 
    remove and return the specified block from the list
 public  void setBAT(BlockAllocationTable bat) throws IOException 
    set the associated BlockAllocationTable
 protected  void setBlocks(ListManagedBlock[] blocks) 
    provide blocks to manage
 public  void zap(int index) 
    remove the specified block from the list