public class LZFCompressedStreamOutput extends CompressedStreamOutput<LZFCompressorContext>
context, uncompressed, uncompressedLength| Constructor and Description |
|---|
LZFCompressedStreamOutput(StreamOutput out) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compress(byte[] data,
int offset,
int len,
StreamOutput out)
Compresses the data into the output
|
protected void |
doClose() |
void |
writeHeader(StreamOutput out) |
close, flush, reset, setVersion, write, writeByte, writeBytesgetVersion, position, seek, seekPositionSupported, write, writeBoolean, writeByteArray, writeBytes, writeBytes, writeBytesRef, writeBytesReference, writeDouble, writeDoubleArray, writeFloat, writeFloatArray, writeGenericValue, writeInt, writeIntArray, writeLong, writeLongArray, writeMap, writeOptionalBoolean, writeOptionalSharedString, writeOptionalStreamable, writeOptionalString, writeOptionalText, writeSharedString, writeSharedText, writeShort, writeString, writeStringArray, writeStringArrayNullable, writeText, writeTextArray, writeVInt, writeVLongwritepublic LZFCompressedStreamOutput(StreamOutput out) throws IOException
IOExceptionpublic void writeHeader(StreamOutput out) throws IOException
writeHeader in class CompressedStreamOutput<LZFCompressorContext>IOExceptionprotected void compress(byte[] data,
int offset,
int len,
StreamOutput out)
throws IOException
CompressedStreamOutputcompress in class CompressedStreamOutput<LZFCompressorContext>IOExceptionprotected void doClose()
throws IOException
doClose in class CompressedStreamOutput<LZFCompressorContext>IOExceptionCopyright © 2009–2016. All rights reserved.