ArchiveEntrySettings

Inheritance: java.lang.Object

public class ArchiveEntrySettings

Settings used to compress or decompress entries.

Constructors

ConstructorDescription
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

MethodDescription
getComment()Gets comment for the entry within ZIP archive.
getCompressionSettings()Gets settings for compression or decompression routine.
getEncryptionSettings()Gets settings for encryption or decryption.
setComment(String value)Comment for the entry within ZIP archive.

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:

ParameterTypeDescription
compressionSettingsCompressionSettingsSettings 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:

ParameterTypeDescription
compressionSettingsCompressionSettingsSettings for compression. Pass null for default deflate settings.

Can be one of these:

Can be one of these:

getComment()

public final String getComment()

Gets comment for the entry within ZIP archive.

Returns: java.lang.String - comment for the entry within ZIP archive.

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.

setComment(String value)

public final void setComment(String value)

Comment for the entry within ZIP archive.

Parameters:

ParameterTypeDescription
valuejava.lang.String