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 ChunkEncoderLZFCompressingInputStream. _encoderprivate ChunkEncoderLZFOutputStream. _encoderMethods in com.ning.compress.lzf with parameters of type ChunkEncoder Modifier and Type Method Description static intLZFEncoder. 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 specifiedChunkEncoderfor 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 classUnsafeChunkEncoderChunkEncoderimplementation that handles actual encoding of individual chunks, using Sun'ssun.misc.Unsafefunctionality, which gives nice extra boost for speed.classUnsafeChunkEncoderBEImplementation to use on Big-Endian architectures.classUnsafeChunkEncoderLEImplementation to use on Little Endian architectures.classVanillaChunkEncoder -
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 ChunkEncoderLZFFileOutputStream. _encoderMethods in com.ning.compress.lzf.util that return ChunkEncoder Modifier and Type Method Description static ChunkEncoderChunkEncoderFactory. optimalInstance()Convenience method, equivalent to:return optimalInstance(LZFChunk.MAX_CHUNK_LEN);static ChunkEncoderChunkEncoderFactory. optimalInstance(int totalLength)Method to use for getting compressor instance that uses the most optimal available methods for underlying data access.static ChunkEncoderChunkEncoderFactory. optimalInstance(int totalLength, BufferRecycler bufferRecycler)Method to use for getting compressor instance that uses the most optimal available methods for underlying data access.static ChunkEncoderChunkEncoderFactory. optimalInstance(BufferRecycler bufferRecycler)Convenience method, equivalent to:return optimalInstance(LZFChunk.MAX_CHUNK_LEN, bufferRecycler);static ChunkEncoderChunkEncoderFactory. 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 ChunkEncoderChunkEncoderFactory. 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 ChunkEncoderChunkEncoderFactory. safeInstance()Convenience method, equivalent to:return safeInstance(LZFChunk.MAX_CHUNK_LEN);static ChunkEncoderChunkEncoderFactory. safeInstance(int totalLength)Method that can be used to ensure that a "safe" compressor instance is loaded.static ChunkEncoderChunkEncoderFactory. safeInstance(int totalLength, BufferRecycler bufferRecycler)Method that can be used to ensure that a "safe" compressor instance is loaded.static ChunkEncoderChunkEncoderFactory. safeInstance(BufferRecycler bufferRecycler)Convenience method, equivalent to:return safeInstance(LZFChunk.MAX_CHUNK_LEN, bufferRecycler);static ChunkEncoderChunkEncoderFactory. 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 ChunkEncoderChunkEncoderFactory. 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)
-