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

All Implemented Interfaces:
    BlockWritable

Direct Known Subclasses:
    PropertyBlock, BATBlock, DocumentBlock, HeaderBlock

Abstract base class of all POIFS block storage classes. All extensions of BigBlock should write 512 bytes of data when requested to write their data. This class has package scope, as there is no reason at this time to make the class public.
Method from org.apache.cocoon.poi.poifs.storage.BigBlock Summary:
doWriteData,   writeBlocks,   writeData
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.poi.poifs.storage.BigBlock Detail:
 protected  void doWriteData(OutputStream stream,
    byte[] data) throws IOException 
    Default implementation of write for extending classes that contain their data in a simple array of bytes.
 public  void writeBlocks(OutputStream stream) throws IOException 
    Write the storage to an OutputStream
 abstract  void writeData(OutputStream stream) throws IOException
    Write the block's data to an OutputStream