AppleZlibCompressionSettings

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

public class AppleZlibCompressionSettings extends AppleCompressionSettings

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

Constructors

ConstructorDescription
AppleZlibCompressionSettings(int blockSize)Initializes a new instance of the AppleZlibCompressionSettings class.
AppleZlibCompressionSettings()Initializes a new instance of the AppleZlibCompressionSettings class with default parameters.

Methods

MethodDescription
getBlockSize()Gets the size of each data block before compression.

AppleZlibCompressionSettings(int blockSize)

public AppleZlibCompressionSettings(int blockSize)

Initializes a new instance of the AppleZlibCompressionSettings class.

Parameters:

ParameterTypeDescription
blockSizeintThe size of each data block before compression.

AppleZlibCompressionSettings()

public AppleZlibCompressionSettings()

Initializes a new instance of the AppleZlibCompressionSettings 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.