Class OPOIFSDocument.SmallBlockStore

java.lang.Object
org.docx4j.org.apache.poi.poifs.filesystem.OPOIFSDocument.SmallBlockStore
Enclosing class:
OPOIFSDocument

private static final class OPOIFSDocument.SmallBlockStore extends Object
  • Field Details

  • Constructor Details

    • SmallBlockStore

      SmallBlockStore(POIFSBigBlockSize bigBlockSize, SmallDocumentBlock[] blocks)
      Constructor
      Parameters:
      blocks - blocks to construct the store from
    • SmallBlockStore

      SmallBlockStore(POIFSBigBlockSize bigBlockSize, POIFSDocumentPath path, String name, int size, POIFSWriterListener writer)
      Constructor for a small block store that will be written later
      Parameters:
      path - path of the document
      name - name of the document
      size - length of the document
      writer - the object that will eventually write the document
  • Method Details

    • isValid

      boolean isValid()
      Returns:
      true if this store is a valid source of data
    • getBlocks

      SmallDocumentBlock[] getBlocks()
      Returns:
      the SmallDocumentBlocks