Class CompressedStreamStore


  • public final class CompressedStreamStore
    extends StreamStore
    A StreamStore where the data on-disk is compressed, using the crazy Visio LZW
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[][] decompress​(byte[] data, int offset, int length)
      Decompresses the given data, returning it as header + contents
      static int getMaxRecordLength()  
      static void setMaxRecordLength​(int length)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setMaxRecordLength

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

        public static int getMaxRecordLength()
        Returns:
        the max record length allowed for CompressedStreamStore
      • decompress

        public static byte[][] decompress​(byte[] data,
                                          int offset,
                                          int length)
                                   throws java.io.IOException
        Decompresses the given data, returning it as header + contents
        Throws:
        java.io.IOException