CabSaveOptions

Inheritance: java.lang.Object

public class CabSaveOptions

Options for saving a CAB archive.

Constructors

ConstructorDescription
CabSaveOptions()

Methods

MethodDescription
getCloseEntrySource()Gets a value indicating whether entries’ sources should be closed right after an entry has been compressed.
getSkipChecksumCalculation()Gets a value indicating whether to skip checksum calculation when saving the CAB archive.
setCloseEntrySource(boolean value)Sets a value indicating whether entries’ sources should be closed right after an entry has been compressed.
setSkipChecksumCalculation(boolean value)Sets a value indicating whether to skip checksum calculation when saving the CAB archive.

CabSaveOptions()

public CabSaveOptions()

getCloseEntrySource()

public final boolean getCloseEntrySource()

Gets a value indicating whether entries’ sources should be closed right after an entry has been compressed.

Returns: boolean - a value indicating whether entries’ sources should be closed right after an entry has been compressed.

getSkipChecksumCalculation()

public final boolean getSkipChecksumCalculation()

Gets a value indicating whether to skip checksum calculation when saving the CAB archive.

Returns: boolean - a value indicating whether to skip checksum calculation when saving the CAB archive.

setCloseEntrySource(boolean value)

public final void setCloseEntrySource(boolean value)

Sets a value indicating whether entries’ sources should be closed right after an entry has been compressed.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether entries’ sources should be closed right after an entry has been compressed.

setSkipChecksumCalculation(boolean value)

public final void setSkipChecksumCalculation(boolean value)

Sets a value indicating whether to skip checksum calculation when saving the CAB archive.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to skip checksum calculation when saving the CAB archive.