Package | Description |
---|---|
com.ning.compress.lzf |
Package that contains public API of the LZF codec, as well as some
of the implementation (specifically parts that are designed to be overridable).
|
com.ning.compress.lzf.impl |
Package that contains implementation classes that are not part
of public interface of LZF codec.
|
com.ning.compress.lzf.util |
Package that contains helper classes uses by LZF codec.
|
Modifier and Type | Field and Description |
---|---|
protected ChunkDecoder |
LZFUncompressor._decoder
Underlying decompressor we use for chunk decompression.
|
protected ChunkDecoder |
LZFInputStream._decoder
Underlying decoder in use.
|
Modifier and Type | Field and Description |
---|---|
protected static AtomicReference<ChunkDecoder> |
LZFDecoder._fastDecoderRef
Lazily initialized "fast" instance that may use
sun.misc.Unsafe
to speed up decompression |
protected static AtomicReference<ChunkDecoder> |
LZFDecoder._safeDecoderRef
Lazily initialized "safe" instance that DOES NOT use
sun.misc.Unsafe
for decompression, just standard JDK functionality. |
Modifier and Type | Method and Description |
---|---|
static ChunkDecoder |
LZFDecoder.fastDecoder()
Accessor method that can be used to obtain
ChunkDecoder
that uses all possible optimization methods available, including
sun.misc.Unsafe for memory access. |
static ChunkDecoder |
LZFDecoder.safeDecoder()
Accessor method that can be used to obtain
ChunkDecoder
that only uses standard JDK access methods, and should work on
all Java platforms and JVMs. |
Constructor and Description |
---|
LZFInputStream(ChunkDecoder decoder,
InputStream in) |
LZFInputStream(ChunkDecoder decoder,
InputStream in,
boolean fullReads) |
LZFInputStream(ChunkDecoder decoder,
InputStream in,
BufferRecycler bufferRecycler,
boolean fullReads) |
LZFUncompressor(DataHandler handler,
ChunkDecoder dec) |
LZFUncompressor(DataHandler handler,
ChunkDecoder dec,
BufferRecycler bufferRecycler) |
Modifier and Type | Class and Description |
---|---|
class |
UnsafeChunkDecoder
Highly optimized
ChunkDecoder implementation that uses
Sun JDK's Unsafe class (which may be included by other JDK's as well;
IBM's apparently does). |
class |
VanillaChunkDecoder
Safe
ChunkDecoder implementation that can be used on any
platform. |
Modifier and Type | Field and Description |
---|---|
protected ChunkDecoder |
LZFFileInputStream._decompressor
Underlying decoder in use.
|
Modifier and Type | Method and Description |
---|---|
static ChunkDecoder |
ChunkDecoderFactory.optimalInstance()
Method to use for getting decoder instance that uses the most optimal
available methods for underlying data access.
|
static ChunkDecoder |
ChunkDecoderFactory.safeInstance()
Method that can be used to ensure that a "safe" decoder instance is loaded.
|
Constructor and Description |
---|
LZFFileInputStream(File file,
ChunkDecoder decompressor) |
LZFFileInputStream(File file,
ChunkDecoder decompressor,
BufferRecycler bufferRecycler) |
LZFFileInputStream(FileDescriptor fdObj,
ChunkDecoder decompressor) |
LZFFileInputStream(FileDescriptor fdObj,
ChunkDecoder decompressor,
BufferRecycler bufferRecycler) |
LZFFileInputStream(String name,
ChunkDecoder decompressor) |
LZFFileInputStream(String name,
ChunkDecoder decompressor,
BufferRecycler bufferRecycler) |
Copyright © 2023. All rights reserved.