Uses of Class
org.docx4j.org.apache.poi.poifs.storage.BATBlock
| Package | Description |
|---|---|
| org.docx4j.org.apache.poi.poifs.filesystem |
filesystem package maps OLE 2 Compound document files to a more familiar filesystem interface.
|
| org.docx4j.org.apache.poi.poifs.storage |
storage package contains low level binary structures for POIFS's implementation of the OLE 2
Compound Document Format.
|
-
Uses of BATBlock in org.docx4j.org.apache.poi.poifs.filesystem
Constructor parameters in org.docx4j.org.apache.poi.poifs.filesystem with type arguments of type BATBlock Constructor Description NPOIFSMiniStore(NPOIFSFileSystem filesystem, RootProperty root, java.util.List<BATBlock> sbats, HeaderBlock header) -
Uses of BATBlock in org.docx4j.org.apache.poi.poifs.storage
Methods in org.docx4j.org.apache.poi.poifs.storage that return BATBlock Modifier and Type Method Description static BATBlockBATBlock. createBATBlock(POIFSBigBlockSize bigBlockSize, java.nio.ByteBuffer data)Create a single BATBlock from the byte buffer, which must hold at least one big block of data to be read.static BATBlock[]BATBlock. createBATBlocks(POIFSBigBlockSize bigBlockSize, int[] entries)Create an array of BATBlocks from an array of int block allocation table entriesstatic BATBlockBATBlock. createEmptyBATBlock(POIFSBigBlockSize bigBlockSize, boolean isXBAT)Creates a single BATBlock, with all the values set to empty.static BATBlock[]BATBlock. createXBATBlocks(POIFSBigBlockSize bigBlockSize, int[] entries, int startBlock)Create an array of XBATBlocks from an array of int block allocation table entriesBATBlockBATBlock.BATBlockAndIndex. getBlock()BATBlock[]HeaderBlockWriter. setBATBlocks(int blockCount, int startBlock)Set BAT block parameters.Methods in org.docx4j.org.apache.poi.poifs.storage with parameters of type BATBlock Modifier and Type Method Description static voidBlockAllocationTableWriter. writeBlock(BATBlock bat, java.nio.ByteBuffer block)Write the BAT into its associated blockMethod parameters in org.docx4j.org.apache.poi.poifs.storage with type arguments of type BATBlock Modifier and Type Method Description static BATBlock.BATBlockAndIndexBATBlock. getBATBlockAndIndex(int offset, HeaderBlock header, java.util.List<BATBlock> bats)Returns the BATBlock that handles the specified offset, and the relative index within it.static BATBlock.BATBlockAndIndexBATBlock. getSBATBlockAndIndex(int offset, HeaderBlock header, java.util.List<BATBlock> sbats)Returns the BATBlock that handles the specified offset, and the relative index within it, for the mini stream.