ArchiveEntrySettings
Contents
[
Hide
]Inheritance: java.lang.Object
public class ArchiveEntrySettings
Settings used to compress or decompress entries.
Constructors
Constructor | Description |
---|---|
ArchiveEntrySettings() | Initializes a new instance of the ArchiveEntrySettings class. |
ArchiveEntrySettings(CompressionSettings compressionSettings) | Initializes a new instance of the ArchiveEntrySettings class. |
ArchiveEntrySettings(CompressionSettings compressionSettings, EncryptionSettings encryptionSettings) | Initializes a new instance of the ArchiveEntrySettings class. |
Methods
Method | Description |
---|---|
getCompressionSettings() | Gets settings for compression or decompression routine. |
getEncryptionSettings() | Gets settings for encryption or decryption. |
ArchiveEntrySettings()
public ArchiveEntrySettings()
Initializes a new instance of the ArchiveEntrySettings class.
ArchiveEntrySettings(CompressionSettings compressionSettings)
public ArchiveEntrySettings(CompressionSettings compressionSettings)
Initializes a new instance of the ArchiveEntrySettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
compressionSettings | CompressionSettings | Settings for compression. Pass null for default deflate settings. |
Can be one of these:
ArchiveEntrySettings(CompressionSettings compressionSettings, EncryptionSettings encryptionSettings)
public ArchiveEntrySettings(CompressionSettings compressionSettings, EncryptionSettings encryptionSettings)
Initializes a new instance of the ArchiveEntrySettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
compressionSettings | CompressionSettings | Settings for compression. Pass null for default deflate settings. |
Can be one of these:
- DeflateCompressionSettings
- EnhancedDeflateCompressionSettings
- StoreCompressionSettings | | encryptionSettings | EncryptionSettings | Settings for encryption. Pass null if no need to encrypt or decrypt.
Can be one of these:
getCompressionSettings()
public final CompressionSettings getCompressionSettings()
Gets settings for compression or decompression routine.
Can be one of these:
Returns: CompressionSettings - settings for compression or decompression routine.
getEncryptionSettings()
public final EncryptionSettings getEncryptionSettings()
Gets settings for encryption or decryption. Settings of particular entry may vary.
Returns: EncryptionSettings - settings for encryption or decryption. Settings of particular entry may vary.