Class DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor
java.lang.Object
org.apache.lucene.backward_codecs.compressing.Compressor
org.apache.lucene.backward_codecs.lucene87.DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
DeflateWithPresetDictCompressionMode
private static class DeflateWithPresetDictCompressionMode.DeflateWithPresetDictCompressor
extends Compressor
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) byte[](package private) final Deflater(package private) final BugfixDeflater_JDK8252739 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcompress(byte[] bytes, int off, int len, DataOutput out) Compress bytes intoout.private voiddoCompress(byte[] bytes, int off, int len, DataOutput out)
-
Field Details
-
compressor
-
deflaterBugfix
-
compressed
byte[] compressed -
closed
boolean closed
-
-
Constructor Details
-
DeflateWithPresetDictCompressor
DeflateWithPresetDictCompressor(int level)
-
-
Method Details
-
doCompress
- Throws:
IOException
-
compress
Description copied from class:CompressorCompress bytes intoout. It is the responsibility of the compressor to add all necessary information so that aDecompressorwill know when to stop decompressing bytes from the stream.- Specified by:
compressin classCompressor- Throws:
IOException
-
close
- Throws:
IOException
-