Class SmallBlockTableReader

java.lang.Object
org.docx4j.org.apache.poi.poifs.storage.SmallBlockTableReader

public final class SmallBlockTableReader extends Object
This class implements reading the small document block list from an existing file
  • Constructor Details

    • SmallBlockTableReader

      public SmallBlockTableReader()
  • Method Details

    • _getSmallDocumentBlockReader

      public static BlockAllocationTableReader _getSmallDocumentBlockReader(POIFSBigBlockSize bigBlockSize, RawDataBlockList blockList, RootProperty root, int sbatStart) throws IOException
      Fetch the small document block reader from an existing file, normally needed for debugging and low level dumping. You should typically call getSmallDocumentBlocks(POIFSBigBlockSize, RawDataBlockList, RootProperty, int) instead.
      Parameters:
      blockList - the raw data from which the small block table will be extracted
      root - the root property (which contains the start block and small block table size)
      sbatStart - the start block of the SBAT
      Returns:
      the small document block reader
      Throws:
      IOException
    • getSmallDocumentBlocks

      public static BlockList getSmallDocumentBlocks(POIFSBigBlockSize bigBlockSize, RawDataBlockList blockList, RootProperty root, int sbatStart) throws IOException
      Fetch the small document block list from an existing file
      Parameters:
      blockList - the raw data from which the small block table will be extracted
      root - the root property (which contains the start block and small block table size)
      sbatStart - the start block of the SBAT
      Returns:
      the small document block list
      Throws:
      IOException