Home » JCraft » jxl.read » biff » [javadoc | source]
jxl.read.biff
public final class: CompoundFile [javadoc | source]
java.lang.Object
   jxl.biff.BaseCompoundFile
      jxl.read.biff.CompoundFile
Reads in and defrags an OLE compound compound file (Made public only for the PropertySets demo)
Fields inherited from jxl.biff.BaseCompoundFile:
IDENTIFIER,  NUM_BIG_BLOCK_DEPOT_BLOCKS_POS,  SMALL_BLOCK_DEPOT_BLOCK_POS,  NUM_SMALL_BLOCK_DEPOT_BLOCKS_POS,  ROOT_START_BLOCK_POS,  BIG_BLOCK_SIZE,  SMALL_BLOCK_SIZE,  EXTENSION_BLOCK_POS,  NUM_EXTENSION_BLOCK_POS,  PROPERTY_STORAGE_BLOCK_SIZE,  BIG_BLOCK_DEPOT_BLOCKS_POS,  SMALL_BLOCK_THRESHOLD,  ROOT_ENTRY_NAME,  WORKBOOK_NAME,  SUMMARY_INFORMATION_NAME,  DOCUMENT_SUMMARY_INFORMATION_NAME,  COMP_OBJ_NAME,  STANDARD_PROPERTY_SETS,  NONE_PS_TYPE,  DIRECTORY_PS_TYPE,  FILE_PS_TYPE,  ROOT_ENTRY_PS_TYPE
Constructor:
 public CompoundFile(byte[] d,
    WorkbookSettings ws) throws BiffException 
    Initializes the compound file
    Parameters:
    d - the raw data of the ole stream
    ws - the workbook settings
    Throws:
    BiffException -
    exception: BiffException -
Method from jxl.read.biff.CompoundFile Summary:
findPropertyStorage,   getNumberOfPropertySets,   getPropertySet,   getStream,   getStream
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.read.biff.CompoundFile Detail:
 public PropertyStorage findPropertyStorage(String name) 
    Recursively searches the property storages in hierarchy order for the appropriate name. This is the public version which is invoked from the writable version when copying a sheet with addition property sets.
 public int getNumberOfPropertySets() 
    Gets the number of property sets
 public PropertyStorage getPropertySet(int index) 
    Gets the property set. Invoked when copying worksheets with macros. Simply calls the private counterpart
 public byte[] getStream(String streamName) throws BiffException 
    Gets the defragmented stream from this ole compound file
 public byte[] getStream(int psIndex) throws BiffException 
    Gets the defragmented stream from this ole compound file. Used when copying workbooks with macros