AlzArchiveLoadOptions
Inheritance: java.lang.Object
public class AlzArchiveLoadOptions
Options with which an ALZ archive is loaded from a compressed file.
Constructors
| Constructor | Description |
|---|---|
| AlzArchiveLoadOptions() |
Methods
| Method | Description |
|---|---|
| getDecryptionPassword() | Gets the password used to decrypt entries. |
| getEncoding() | Gets the encoding used for entry names. |
| getSkipChecksumVerification() | Gets whether checksum verification of ALZ entries is skipped. |
| setCancellationFlag(CancellationFlag value) | Sets a cancellation flag used to cancel extraction. |
| setDecryptionPassword(String value) | Sets the password used to decrypt entries. |
| setEncoding(Charset value) | Sets the encoding used for entry names. |
| setSkipChecksumVerification(boolean value) | Sets whether checksum verification of ALZ entries is skipped. |
AlzArchiveLoadOptions()
public AlzArchiveLoadOptions()
getDecryptionPassword()
public String getDecryptionPassword()
Gets the password used to decrypt entries.
Returns:
java.lang.String - password used to decrypt entries, or null when none is configured
getEncoding()
public final Charset getEncoding()
Gets the encoding used for entry names. The default is Korean Windows code page 949 (CP949). ALZ archives historically store file names using the Korean Windows ANSI code page.
Returns: java.nio.charset.Charset - encoding used for entry names
getSkipChecksumVerification()
public boolean getSkipChecksumVerification()
Gets whether checksum verification of ALZ entries is skipped. The default is false.
Returns: boolean - whether checksum verification is skipped
setCancellationFlag(CancellationFlag value)
public void setCancellationFlag(CancellationFlag value)
Sets a cancellation flag used to cancel extraction.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | CancellationFlag | cancellation flag, or null to disable cancellation |
setDecryptionPassword(String value)
public void setDecryptionPassword(String value)
Sets the password used to decrypt entries.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | password used to decrypt entries |
setEncoding(Charset value)
public final void setEncoding(Charset value)
Sets the encoding used for entry names. ALZ archives historically store file names using the Korean Windows ANSI code page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.nio.charset.Charset | encoding used for entry names |
setSkipChecksumVerification(boolean value)
public void setSkipChecksumVerification(boolean value)
Sets whether checksum verification of ALZ entries is skipped.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | whether checksum verification is skipped |