Class CompressionInfo


  • public abstract class CompressionInfo
    extends java.lang.Object
    Container that carries compression parameters and chunks to decompress data from stream.
    • Constructor Detail

      • CompressionInfo

        public CompressionInfo()
    • Method Detail

      • parameters

        public abstract CompressionParams parameters()
        Returns the compression parameters.
        Returns:
        the compression parameters.
      • chunks

        public abstract CompressionMetadata.Chunk[] chunks()
        Returns the offset and length of the file chunks.
        Returns:
        the offset and length of the file chunks.
      • getTotalSize

        public long getTotalSize()
        Computes the size of the file to transfer.
        Returns:
        the size of the file in bytes
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object