AppleLzmaCompressionSettings

Inheritance: java.lang.Object, com.aspose.zip.AppleCompressionSettings

public class AppleLzmaCompressionSettings extends AppleCompressionSettings

Settings for LZMA compression within an Apple Archive (.aar) file.

Constructors

ConstructorDescription
AppleLzmaCompressionSettings(int blockSize)Initializes a new instance of the AppleLzmaCompressionSettings class.
AppleLzmaCompressionSettings(int blockSize, int dictionarySize)Initializes a new instance of the AppleLzmaCompressionSettings class.
AppleLzmaCompressionSettings(int blockSize, int dictionarySize, int fastBytes)Initializes a new instance of the AppleLzmaCompressionSettings class.
AppleLzmaCompressionSettings()Initializes a new instance of the AppleLzmaCompressionSettings class with default parameters.

Methods

MethodDescription
getBlockSize()Gets the size of each data block before compression.
getDictionarySize()Gets the dictionary size used for compression.
getFastBytes()Gets the number of fast bytes used for compression.

AppleLzmaCompressionSettings(int blockSize)

public AppleLzmaCompressionSettings(int blockSize)

Initializes a new instance of the AppleLzmaCompressionSettings class.

Parameters:

ParameterTypeDescription
blockSizeintThe size of each data block before compression.

AppleLzmaCompressionSettings(int blockSize, int dictionarySize)

public AppleLzmaCompressionSettings(int blockSize, int dictionarySize)

Initializes a new instance of the AppleLzmaCompressionSettings class.

Parameters:

ParameterTypeDescription
blockSizeintThe size of each data block before compression.
dictionarySizeintThe dictionary size used for compression.

AppleLzmaCompressionSettings(int blockSize, int dictionarySize, int fastBytes)

public AppleLzmaCompressionSettings(int blockSize, int dictionarySize, int fastBytes)

Initializes a new instance of the AppleLzmaCompressionSettings class.

Parameters:

ParameterTypeDescription
blockSizeintThe size of each data block before compression.
dictionarySizeintThe dictionary size used for compression.
fastBytesintThe number of fast bytes used for compression.

AppleLzmaCompressionSettings()

public AppleLzmaCompressionSettings()

Initializes a new instance of the AppleLzmaCompressionSettings class with default parameters.

getBlockSize()

public final int getBlockSize()

Gets the size of each data block before compression.

Value: The default value is 4 MiB.

Returns: int - the size of each data block before compression.

getDictionarySize()

public final int getDictionarySize()

Gets the dictionary size used for compression.

Value: The default value is 8 MiB.

Returns: int - the dictionary size used for compression.

getFastBytes()

public final int getFastBytes()

Gets the number of fast bytes used for compression.

Value: The default value is 32.

Returns: int - the number of fast bytes used for compression.