AppleZlibCompressionSettings
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.zip.AppleCompressionSettings
public class AppleZlibCompressionSettings extends AppleCompressionSettings
Settings for Zlib compression within an Apple Archive (.aar) file.
Constructors
| Constructor | Description |
|---|---|
| AppleZlibCompressionSettings(int blockSize) | Initializes a new instance of the AppleZlibCompressionSettings class. |
| AppleZlibCompressionSettings() | Initializes a new instance of the AppleZlibCompressionSettings class with default parameters. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| blockSize | int | The 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.