Class StreamStore

java.lang.Object
org.apache.poi.hdgf.streams.StreamStore
Direct Known Subclasses:
CompressedStreamStore

public class StreamStore extends Object
Holds the representation of the stream on-disk, and handles de-compressing it as required. In future, may also handle writing it back out again
  • Constructor Details

    • StreamStore

      protected StreamStore(byte[] data, int offset, int length)
      Creates a new, non compressed Stream Store
  • Method Details

    • setMaxRecordLength

      public static void setMaxRecordLength(int length)
      Parameters:
      length - the max record length allowed for StreamStore
    • getMaxRecordLength

      public static int getMaxRecordLength()
      Returns:
      the max record length allowed for StreamStore
    • prependContentsWith

      protected void prependContentsWith(byte[] b)
    • copyBlockHeaderToContents

      protected void copyBlockHeaderToContents()
    • getContents

      protected byte[] getContents()
    • _getContents

      public byte[] _getContents()