Class Compressor
- java.lang.Object
-
- org.apache.lucene.codecs.compressing.Compressor
-
public abstract class Compressor extends java.lang.ObjectA data compressor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidcompress(byte[] bytes, int off, int len, DataOutput out)Compress bytes intoout.
-
-
-
Method Detail
-
compress
public abstract void compress(byte[] bytes, int off, int len, DataOutput out) throws java.io.IOExceptionCompress bytes intoout. It it the responsibility of the compressor to add all necessary information so that aDecompressorwill know when to stop decompressing bytes from the stream.- Throws:
java.io.IOException
-
-