Class SevenZipBZip2CompressionSettings


  • public class SevenZipBZip2CompressionSettings
    extends SevenZipCompressionSettings

    Settings for BZip2 compression method within 7z archive.

    Bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding.

    See more: Bzip2

    • Constructor Detail

      • SevenZipBZip2CompressionSettings

        public SevenZipBZip2CompressionSettings​(int blockSize)

        Initializes a new instance of the SevenZipBZip2CompressionSettings class.

        Parameters:
        blockSize - block size in hundreds of kilobytes
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - blockSize is too big or too small.
      • SevenZipBZip2CompressionSettings

        public SevenZipBZip2CompressionSettings()

        Initializes a new instance of the SevenZipBZip2CompressionSettings class with default block size, equals to 9 hundred of kilobytes.

    • Method Detail

      • getBlockSize

        public final int getBlockSize()

        Block size in hundreds of kilobytes.

        Returns:
        block size in hundreds of kilobytes