Uses of Class
com.ning.compress.lzf.ChunkEncoder
-
Packages that use ChunkEncoder 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.parallel 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).com.ning.compress.lzf.util 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 ChunkEncoder Modifier and Type Field Description private ChunkEncoder
LZFCompressingInputStream. _encoder
private ChunkEncoder
LZFOutputStream. _encoder
Methods in com.ning.compress.lzf with parameters of type ChunkEncoder Modifier and Type Method Description static 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 ChunkEncoder Constructor Description LZFCompressingInputStream(ChunkEncoder encoder, java.io.InputStream in)
LZFCompressingInputStream(ChunkEncoder encoder, java.io.InputStream in, BufferRecycler bufferRecycler)
LZFOutputStream(ChunkEncoder encoder, java.io.OutputStream outputStream)
LZFOutputStream(ChunkEncoder encoder, java.io.OutputStream outputStream, int bufferSize, BufferRecycler bufferRecycler)
LZFOutputStream(ChunkEncoder encoder, java.io.OutputStream outputStream, BufferRecycler bufferRecycler)
-
Uses of ChunkEncoder in com.ning.compress.lzf.impl
Subclasses of ChunkEncoder in com.ning.compress.lzf.impl Modifier and Type Class Description class
UnsafeChunkEncoder
ChunkEncoder
implementation that handles actual encoding of individual chunks, using Sun'ssun.misc.Unsafe
functionality, which gives nice extra boost for speed.class
UnsafeChunkEncoderBE
Implementation to use on Big-Endian architectures.class
UnsafeChunkEncoderLE
Implementation to use on Little Endian architectures.class
VanillaChunkEncoder
-
Uses of ChunkEncoder in com.ning.compress.lzf.parallel
Fields in com.ning.compress.lzf.parallel with type parameters of type ChunkEncoder Modifier and Type Field Description private static java.lang.ThreadLocal<ChunkEncoder>
CompressTask. ENCODER
-
Uses of ChunkEncoder in com.ning.compress.lzf.util
Fields in com.ning.compress.lzf.util declared as ChunkEncoder Modifier and Type Field Description private ChunkEncoder
LZFFileOutputStream. _encoder
Methods in com.ning.compress.lzf.util that return ChunkEncoder Modifier and Type Method Description static 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 ChunkEncoder Constructor Description LZFFileOutputStream(ChunkEncoder encoder, java.io.File file)
LZFFileOutputStream(ChunkEncoder encoder, java.io.FileDescriptor fdObj)
LZFFileOutputStream(ChunkEncoder encoder, java.io.FileDescriptor fdObj, BufferRecycler bufferRecycler)
LZFFileOutputStream(ChunkEncoder encoder, java.io.File file, boolean append)
LZFFileOutputStream(ChunkEncoder encoder, java.io.File file, boolean append, BufferRecycler bufferRecycler)
LZFFileOutputStream(ChunkEncoder encoder, java.io.File file, BufferRecycler bufferRecycler)
LZFFileOutputStream(ChunkEncoder encoder, java.lang.String name)
LZFFileOutputStream(ChunkEncoder encoder, java.lang.String name, boolean append)
LZFFileOutputStream(ChunkEncoder encoder, java.lang.String name, boolean append, BufferRecycler bufferRecycler)
LZFFileOutputStream(ChunkEncoder encoder, java.lang.String name, BufferRecycler bufferRecycler)
-