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
| Constructor | Description |
|---|---|
| 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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| blockSize | int | The 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:
| Parameter | Type | Description |
|---|---|---|
| blockSize | int | The size of each data block before compression. |
| dictionarySize | int | The 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:
| Parameter | Type | Description |
|---|---|---|
| blockSize | int | The size of each data block before compression. |
| dictionarySize | int | The dictionary size used for compression. |
| fastBytes | int | The 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.