Maven module :un.storage : archive-xz :
Class : un.storage.archive.xz.FilterOptions
Extends/Implements : un.storage.archive.xz.Cloneable
Subclasses : -

Base class for filter-specific options classes.


Variables : -
Functions : getEncoderMemoryUsage, getDecoderMemoryUsage, getEncoderMemoryUsage, getOutputStream, getDecoderMemoryUsage, getInputStream, getFilterEncoder, FilterOptions




Gets how much memory the encoder will need with
the given filter chain. This function simply calls
getEncoderMemoryUsage() for every filter
in the array and returns the sum of the returned values.
public int getEncoderMemoryUsage (FilterOptions[] options)


Gets how much memory the decoder will need with
the given filter chain. This function simply calls
getDecoderMemoryUsage() for every filter
in the array and returns the sum of the returned values.
public int getDecoderMemoryUsage (FilterOptions[] options)


Gets how much memory the encoder will need with these options.
public int getEncoderMemoryUsage ()


Gets a raw (no XZ headers) encoder output stream using these options.
Raw streams are an advanced feature. In most cases you want to store
the compressed data in the .xz container format instead of using
a raw stream. To use this filter in a .xz file, pass this object
to XZOutputStream.
public FinishableOutputStream getOutputStream (FinishableOutputStream out)


Gets how much memory the decoder will need to decompress the data
that was encoded with these options.
public int getDecoderMemoryUsage ()


Gets a raw (no XZ headers) decoder input stream using these options.
public InputStream getInputStream (InputStream in)

FilterEncoder getFilterEncoder ()

void FilterOptions ()