Package com.aspose.zip
Class SevenZipBZip2CompressionSettings
- java.lang.Object
-
- com.aspose.zip.SevenZipCompressionSettings
-
- com.aspose.zip.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 Summary
Constructors Constructor Description SevenZipBZip2CompressionSettings()Initializes a new instance of theSevenZipBZip2CompressionSettingsclass with default block size, equals to 9 hundred of kilobytes.SevenZipBZip2CompressionSettings(int blockSize)Initializes a new instance of theSevenZipBZip2CompressionSettingsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBlockSize()Block size in hundreds of kilobytes.SevenZipCompressionMethodgetMethod()Gets compression or decompression method.
-
-
-
Constructor Detail
-
SevenZipBZip2CompressionSettings
public SevenZipBZip2CompressionSettings(int blockSize)
Initializes a new instance of the
SevenZipBZip2CompressionSettingsclass.- Parameters:
blockSize- block size in hundreds of kilobytes- Throws:
com.aspose.ms.System.ArgumentOutOfRangeException-blockSizeis too big or too small.
-
SevenZipBZip2CompressionSettings
public SevenZipBZip2CompressionSettings()
Initializes a new instance of the
SevenZipBZip2CompressionSettingsclass 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
-
getMethod
public SevenZipCompressionMethod getMethod()
Gets compression or decompression method.
- Specified by:
getMethodin classSevenZipCompressionSettings- Returns:
- compression or decompression method
-
-