Uses of Class
com.ning.compress.lzf.ChunkEncoder
Packages that use ChunkEncoder
Package
Description
Package that contains public API of the LZF codec, as well as some
of the implementation (specifically parts that are designed to be overridable).
Package that contains implementation classes that are not part
of public interface of LZF codec.
Package that contains parallel implementation of LZF compressor: granularity
is at chunk-level, so that each processing thread operates on a single chunk
at a time (and conversely, no chunk is "split" across threads).
Package that contains helper classes uses by LZF codec.
-
Uses of ChunkEncoder in com.ning.compress.lzf
Fields in com.ning.compress.lzf declared as ChunkEncoderModifier and TypeFieldDescriptionprivate ChunkEncoder
LZFCompressingInputStream._encoder
private final ChunkEncoder
LZFOutputStream._encoder
Methods in com.ning.compress.lzf with parameters of type ChunkEncoderModifier and TypeMethodDescriptionstatic int
LZFEncoder.appendEncoded
(ChunkEncoder enc, byte[] input, int inputPtr, int inputLength, byte[] outputBuffer, int outputPtr) Alternate version that accepts pre-allocated output buffer.static byte[]
LZFEncoder.encode
(ChunkEncoder enc, byte[] data, int length) Compression method that uses specifiedChunkEncoder
for actual encoding.static byte[]
LZFEncoder.encode
(ChunkEncoder enc, byte[] data, int offset, int length) Method that encodes given input using providedChunkEncoder
, and aggregating it into a single byte array and returning that.Constructors in com.ning.compress.lzf with parameters of type ChunkEncoderModifierConstructorDescriptionLZFCompressingInputStream
(ChunkEncoder encoder, InputStream in) LZFCompressingInputStream
(ChunkEncoder encoder, InputStream in, BufferRecycler bufferRecycler) LZFOutputStream
(ChunkEncoder encoder, OutputStream outputStream) LZFOutputStream
(ChunkEncoder encoder, OutputStream outputStream, int bufferSize, BufferRecycler bufferRecycler) LZFOutputStream
(ChunkEncoder encoder, OutputStream outputStream, BufferRecycler bufferRecycler) -
Uses of ChunkEncoder in com.ning.compress.lzf.impl
Subclasses of ChunkEncoder in com.ning.compress.lzf.implModifier and TypeClassDescriptionclass
ChunkEncoder
implementation that handles actual encoding of individual chunks, using Sun'ssun.misc.Unsafe
functionality, which gives nice extra boost for speed.final class
Implementation to use on Big-Endian architectures.class
Implementation to use on Little Endian architectures.class
-
Uses of ChunkEncoder in com.ning.compress.lzf.parallel
Fields in com.ning.compress.lzf.parallel with type parameters of type ChunkEncoderModifier and TypeFieldDescriptionprivate static final ThreadLocal
<ChunkEncoder> CompressTask.ENCODER
-
Uses of ChunkEncoder in com.ning.compress.lzf.util
Fields in com.ning.compress.lzf.util declared as ChunkEncoderMethods in com.ning.compress.lzf.util that return ChunkEncoderModifier and TypeMethodDescriptionstatic ChunkEncoder
ChunkEncoderFactory.optimalInstance()
Convenience method, equivalent to:return optimalInstance(LZFChunk.MAX_CHUNK_LEN);
static ChunkEncoder
ChunkEncoderFactory.optimalInstance
(int totalLength) Method to use for getting compressor instance that uses the most optimal available methods for underlying data access.static ChunkEncoder
ChunkEncoderFactory.optimalInstance
(int totalLength, BufferRecycler bufferRecycler) Method to use for getting compressor instance that uses the most optimal available methods for underlying data access.static ChunkEncoder
ChunkEncoderFactory.optimalInstance
(BufferRecycler bufferRecycler) Convenience method, equivalent to:return optimalInstance(LZFChunk.MAX_CHUNK_LEN, bufferRecycler);
static ChunkEncoder
ChunkEncoderFactory.optimalNonAllocatingInstance
(int totalLength) Factory method for constructing encoder that is always passed buffer externally, so that it will not (nor need) allocate encoding buffer.static ChunkEncoder
ChunkEncoderFactory.optimalNonAllocatingInstance
(int totalLength, BufferRecycler bufferRecycler) Factory method for constructing encoder that is always passed buffer externally, so that it will not (nor need) allocate encoding buffer.static ChunkEncoder
ChunkEncoderFactory.safeInstance()
Convenience method, equivalent to:return safeInstance(LZFChunk.MAX_CHUNK_LEN);
static ChunkEncoder
ChunkEncoderFactory.safeInstance
(int totalLength) Method that can be used to ensure that a "safe" compressor instance is loaded.static ChunkEncoder
ChunkEncoderFactory.safeInstance
(int totalLength, BufferRecycler bufferRecycler) Method that can be used to ensure that a "safe" compressor instance is loaded.static ChunkEncoder
ChunkEncoderFactory.safeInstance
(BufferRecycler bufferRecycler) Convenience method, equivalent to:return safeInstance(LZFChunk.MAX_CHUNK_LEN, bufferRecycler);
static ChunkEncoder
ChunkEncoderFactory.safeNonAllocatingInstance
(int totalLength) Factory method for constructing encoder that is always passed buffer externally, so that it will not (nor need) allocate encoding buffer.static ChunkEncoder
ChunkEncoderFactory.safeNonAllocatingInstance
(int totalLength, BufferRecycler bufferRecycler) Factory method for constructing encoder that is always passed buffer externally, so that it will not (nor need) allocate encoding buffer.Constructors in com.ning.compress.lzf.util with parameters of type ChunkEncoderModifierConstructorDescriptionLZFFileOutputStream
(ChunkEncoder encoder, File file) LZFFileOutputStream
(ChunkEncoder encoder, FileDescriptor fdObj) LZFFileOutputStream
(ChunkEncoder encoder, FileDescriptor fdObj, BufferRecycler bufferRecycler) LZFFileOutputStream
(ChunkEncoder encoder, File file, boolean append) LZFFileOutputStream
(ChunkEncoder encoder, File file, boolean append, BufferRecycler bufferRecycler) LZFFileOutputStream
(ChunkEncoder encoder, File file, BufferRecycler bufferRecycler) LZFFileOutputStream
(ChunkEncoder encoder, String name) LZFFileOutputStream
(ChunkEncoder encoder, String name, boolean append) LZFFileOutputStream
(ChunkEncoder encoder, String name, boolean append, BufferRecycler bufferRecycler) LZFFileOutputStream
(ChunkEncoder encoder, String name, BufferRecycler bufferRecycler)