CompressionSettings
Inheritance: java.lang.Object
public abstract class CompressionSettings
Settings needed for compressor or decompressor to work.
Constructors
Constructor | Description |
---|---|
CompressionSettings() |
Methods
Method | Description |
---|---|
getBzip2() | An instance of Bzip2CompressionSettings with default parameters. |
getDeflate() | Gets an instance of DeflateCompressionSettings with default parameters. |
getEnhancedDeflate() | An instance of EnhancedDeflateCompressionSettings with default parameters. |
getLzma() | An instance of LzmaCompressionSettings with default parameters. |
getPPMd() | An instance of PPMdCompressionSettings with default parameters. |
getStore() | An instance of StoreCompressionSettings with default parameters. |
getXz() | An instance of Xz with default parameters. |
getZstd() | An instance of ZstandardCompressionSettings with default parameters. |
CompressionSettings()
public CompressionSettings()
getBzip2()
public static Bzip2CompressionSettings getBzip2()
An instance of Bzip2CompressionSettings
with default parameters.
Returns:
Bzip2CompressionSettings - an instance of Bzip2CompressionSettings
with default parameters
getDeflate()
public static DeflateCompressionSettings getDeflate()
Gets an instance of DeflateCompressionSettings
with default parameters.
Returns:
DeflateCompressionSettings - an instance of DeflateCompressionSettings
with default parameters
getEnhancedDeflate()
public static EnhancedDeflateCompressionSettings getEnhancedDeflate()
An instance of EnhancedDeflateCompressionSettings
with default parameters.
Returns:
EnhancedDeflateCompressionSettings - an instance of EnhancedDeflateCompressionSettings
with default parameters
getLzma()
public static LzmaCompressionSettings getLzma()
An instance of LzmaCompressionSettings
with default parameters.
Returns:
LzmaCompressionSettings - an instance of LzmaCompressionSettings
with default parameters
getPPMd()
public static PPMdCompressionSettings getPPMd()
An instance of PPMdCompressionSettings
with default parameters.
Returns:
PPMdCompressionSettings - an instance of PPMdCompressionSettings
with default parameters
getStore()
public static StoreCompressionSettings getStore()
An instance of StoreCompressionSettings
with default parameters.
Returns:
StoreCompressionSettings - an instance of StoreCompressionSettings
with default parameters
getXz()
public static XzCompressionSettings getXz()
An instance of Xz
with default parameters.
Returns:
XzCompressionSettings - an instance of Xz
with default parameters
getZstd()
public static ZstandardCompressionSettings getZstd()
An instance of ZstandardCompressionSettings
with default parameters.
Returns:
ZstandardCompressionSettings - an instance of ZstandardCompressionSettings
with default parameters