|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tukaani.xz.FilterOptions
public abstract class FilterOptions
Base class for filter-specific options classes.
Method Summary | |
---|---|
abstract int |
getDecoderMemoryUsage()
Gets how much memory the decoder will need to decompress the data that was encoded with these options. |
static int |
getDecoderMemoryUsage(FilterOptions[] options)
Gets how much memory the decoder will need with the given filter chain. |
abstract int |
getEncoderMemoryUsage()
Gets how much memory the encoder will need with these options. |
static int |
getEncoderMemoryUsage(FilterOptions[] options)
Gets how much memory the encoder will need with the given filter chain. |
abstract InputStream |
getInputStream(InputStream in)
Gets a raw (no XZ headers) decoder input stream using these options. |
abstract FinishableOutputStream |
getOutputStream(FinishableOutputStream out)
Gets a raw (no XZ headers) encoder output stream using these options. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int getEncoderMemoryUsage(FilterOptions[] options)
getEncoderMemoryUsage()
for every filter
in the array and returns the sum of the returned values.
public static int getDecoderMemoryUsage(FilterOptions[] options)
getDecoderMemoryUsage()
for every filter
in the array and returns the sum of the returned values.
public abstract int getEncoderMemoryUsage()
public abstract FinishableOutputStream getOutputStream(FinishableOutputStream out)
public abstract int getDecoderMemoryUsage()
public abstract InputStream getInputStream(InputStream in) throws IOException
IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |