Package | Description |
---|---|
org.tukaani.xz |
XZ data compression support.
|
org.tukaani.xz.lz | |
org.tukaani.xz.lzma | |
org.tukaani.xz.rangecoder |
Modifier and Type | Class and Description |
---|---|
class |
BasicArrayCache
A basic
ArrayCache implementation. |
class |
ResettableArrayCache
An ArrayCache wrapper that remembers what has been allocated
and allows returning all allocations to the underlying cache at once.
|
Modifier and Type | Method and Description |
---|---|
static ArrayCache |
ArrayCache.getDefaultCache()
Gets the default
ArrayCache instance. |
static ArrayCache |
ArrayCache.getDummyCache()
Returns a statically-allocated
ArrayCache instance. |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
ARMOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
ARMThumbOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
DeltaOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
abstract java.io.InputStream |
FilterOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache)
Gets a raw (no XZ headers) decoder input stream using these options
and the given ArrayCache.
|
java.io.InputStream |
IA64Options.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
LZMA2Options.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
PowerPCOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
SPARCOptions.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
java.io.InputStream |
X86Options.getInputStream(java.io.InputStream in,
ArrayCache arrayCache) |
FinishableOutputStream |
ARMOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
ARMThumbOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
DeltaOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
abstract FinishableOutputStream |
FilterOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache)
Gets a raw (no XZ headers) encoder output stream using these options
and the given ArrayCache.
|
FinishableOutputStream |
IA64Options.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
LZMA2Options.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
PowerPCOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
SPARCOptions.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
FinishableOutputStream |
X86Options.getOutputStream(FinishableOutputStream out,
ArrayCache arrayCache) |
static void |
ArrayCache.setDefaultCache(ArrayCache arrayCache)
Sets the default
ArrayCache instance. |
Constructor and Description |
---|
LZMAInputStream(java.io.InputStream in,
ArrayCache arrayCache)
Creates a new .lzma file format decompressor without
a memory usage limit.
|
LZMAInputStream(java.io.InputStream in,
int memoryLimit,
ArrayCache arrayCache)
Creates a new .lzma file format decompressor with an optional
memory usage limit.
|
LZMAInputStream(java.io.InputStream in,
long uncompSize,
byte propsByte,
int dictSize,
byte[] presetDict,
ArrayCache arrayCache)
Creates a new input stream that decompresses raw LZMA data (no .lzma
header) from
in optionally with a preset dictionary. |
LZMAInputStream(java.io.InputStream in,
long uncompSize,
int lc,
int lp,
int pb,
int dictSize,
byte[] presetDict,
ArrayCache arrayCache)
Creates a new input stream that decompresses raw LZMA data (no .lzma
header) from
in optionally with a preset dictionary. |
LZMAOutputStream(java.io.OutputStream out,
LZMA2Options options,
boolean useEndMarker,
ArrayCache arrayCache)
Creates a new compressor for raw LZMA (also known as LZMA1) stream.
|
LZMAOutputStream(java.io.OutputStream out,
LZMA2Options options,
long inputSize,
ArrayCache arrayCache)
Creates a new compressor for the legacy .lzma file format.
|
ResettableArrayCache(ArrayCache arrayCache)
Creates a new ResettableArrayCache based on the given ArrayCache.
|
SeekableXZInputStream(SeekableInputStream in,
ArrayCache arrayCache)
Creates a new seekable XZ decompressor without a memory usage limit.
|
SeekableXZInputStream(SeekableInputStream in,
int memoryLimit,
ArrayCache arrayCache)
Creates a new seekable XZ decomporessor with an optional
memory usage limit.
|
SeekableXZInputStream(SeekableInputStream in,
int memoryLimit,
boolean verifyCheck,
ArrayCache arrayCache)
Creates a new seekable XZ decomporessor with an optional
memory usage limit and ability to disable verification
of integrity checks.
|
SingleXZInputStream(java.io.InputStream in,
ArrayCache arrayCache)
Creates a new XZ decompressor that decompresses exactly one
XZ Stream from
in without a memory usage limit. |
SingleXZInputStream(java.io.InputStream in,
int memoryLimit,
ArrayCache arrayCache)
Creates a new XZ decompressor that decompresses exactly one
XZ Stream from
in with an optional memory usage limit. |
SingleXZInputStream(java.io.InputStream in,
int memoryLimit,
boolean verifyCheck,
ArrayCache arrayCache)
Creates a new XZ decompressor that decompresses exactly one
XZ Stream from
in with an optional memory usage limit
and ability to disable verification of integrity checks. |
XZInputStream(java.io.InputStream in,
ArrayCache arrayCache)
Creates a new XZ decompressor without a memory usage limit.
|
XZInputStream(java.io.InputStream in,
int memoryLimit,
ArrayCache arrayCache)
Creates a new XZ decompressor with an optional memory usage limit.
|
XZInputStream(java.io.InputStream in,
int memoryLimit,
boolean verifyCheck,
ArrayCache arrayCache)
Creates a new XZ decompressor with an optional memory usage limit
and ability to disable verification of integrity checks.
|
XZOutputStream(java.io.OutputStream out,
FilterOptions[] filterOptions,
ArrayCache arrayCache)
Creates a new XZ compressor using 1-4 filters and CRC64 as
the integrity check.
|
XZOutputStream(java.io.OutputStream out,
FilterOptions[] filterOptions,
int checkType,
ArrayCache arrayCache)
Creates a new XZ compressor using 1-4 filters and the specified
integrity check type.
|
XZOutputStream(java.io.OutputStream out,
FilterOptions filterOptions,
ArrayCache arrayCache)
Creates a new XZ compressor using one filter and CRC64 as
the integrity check.
|
XZOutputStream(java.io.OutputStream out,
FilterOptions filterOptions,
int checkType,
ArrayCache arrayCache)
Creates a new XZ compressor using one filter and the specified
integrity check type.
|
Modifier and Type | Method and Description |
---|---|
static LZEncoder |
LZEncoder.getInstance(int dictSize,
int extraSizeBefore,
int extraSizeAfter,
int niceLen,
int matchLenMax,
int mf,
int depthLimit,
ArrayCache arrayCache)
Creates a new LZEncoder.
|
void |
LZDecoder.putArraysToCache(ArrayCache arrayCache) |
void |
LZEncoder.putArraysToCache(ArrayCache arrayCache) |
Constructor and Description |
---|
LZDecoder(int dictSize,
byte[] presetDict,
ArrayCache arrayCache) |
Modifier and Type | Method and Description |
---|---|
static LZMAEncoder |
LZMAEncoder.getInstance(RangeEncoder rc,
int lc,
int lp,
int pb,
int mode,
int dictSize,
int extraSizeBefore,
int niceLen,
int mf,
int depthLimit,
ArrayCache arrayCache) |
void |
LZMAEncoder.putArraysToCache(ArrayCache arrayCache) |
Modifier and Type | Method and Description |
---|---|
void |
RangeDecoderFromBuffer.putArraysToCache(ArrayCache arrayCache) |
void |
RangeEncoderToBuffer.putArraysToCache(ArrayCache arrayCache) |
Constructor and Description |
---|
RangeDecoderFromBuffer(int inputSizeMax,
ArrayCache arrayCache) |
RangeEncoderToBuffer(int bufSize,
ArrayCache arrayCache) |