Class Lz4ArchiveSetting


  • public class Lz4ArchiveSetting
    extends Object

    Settings for LZ4 archive composition.

    • Constructor Detail

      • Lz4ArchiveSetting

        public Lz4ArchiveSetting()

        Initializes a new instance of the Lz4ArchiveSetting with default parameters.

    • Method Detail

      • getIncludeContentChecksum

        public final boolean getIncludeContentChecksum()

        Gets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.

        Default is true.

        Returns:
        a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
      • setIncludeContentChecksum

        public final void setIncludeContentChecksum​(boolean value)

        Sets a value indicating whether to include content xxh32 hash at the end of LZ4 archive.

        Default is true.

        Parameters:
        value - a value indicating whether to include content xxh32 hash at the end of LZ4 archive.
      • getIncludeBlockChecksum

        public final boolean getIncludeBlockChecksum()

        Gets a value indicating whether to include compressed xxh32 hash at the end of compressed block.

        Default is false.

        Returns:
        a value indicating whether to include compressed xxh32 hash at the end of compressed block.
      • setIncludeBlockChecksum

        public final void setIncludeBlockChecksum​(boolean value)

        Sets a value indicating whether to include compressed xxh32 hash at the end of compressed block.

        Default is false.

        Parameters:
        value - a value indicating whether to include compressed xxh32 hash at the end of compressed block.
      • getIncludeContentSize

        public final boolean getIncludeContentSize()

        Gets a value indicating whether to include the content size in the frame.

        Default is false. Applied when the source stream is seekable.

        Returns:
        a value indicating whether to include the content size in the frame.
      • setIncludeContentSize

        public final void setIncludeContentSize​(boolean value)

        Sets a value indicating whether to include the content size in the frame.

        Default is false. Applied when the source stream is seekable.

        Parameters:
        value - a value indicating whether to include the content size in the frame.