Class SmallBlockTableReader
java.lang.Object
org.docx4j.org.apache.poi.poifs.storage.SmallBlockTableReader
public final class SmallBlockTableReader
extends java.lang.Object
This class implements reading the small document block list from an
existing file
-
Constructor Summary
Constructors Constructor Description SmallBlockTableReader() -
Method Summary
Modifier and Type Method Description static BlockAllocationTableReader_getSmallDocumentBlockReader(POIFSBigBlockSize bigBlockSize, RawDataBlockList blockList, RootProperty root, int sbatStart)Fetch the small document block reader from an existing file, normally needed for debugging and low level dumping.static BlockListgetSmallDocumentBlocks(POIFSBigBlockSize bigBlockSize, RawDataBlockList blockList, RootProperty root, int sbatStart)Fetch 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 java.io.IOExceptionFetch the small document block reader from an existing file, normally needed for debugging and low level dumping. You should typically callgetSmallDocumentBlocks(POIFSBigBlockSize, RawDataBlockList, RootProperty, int)instead.- Parameters:
blockList- the raw data from which the small block table will be extractedroot- 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:
java.io.IOException
-
getSmallDocumentBlocks
public static BlockList getSmallDocumentBlocks(POIFSBigBlockSize bigBlockSize, RawDataBlockList blockList, RootProperty root, int sbatStart) throws java.io.IOExceptionFetch the small document block list from an existing file- Parameters:
blockList- the raw data from which the small block table will be extractedroot- 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:
java.io.IOException
-