public abstract class Compressor extends Object implements Closeable
|Modifier||Constructor and Description|
Sole constructor, typically called from sub-classes.
|Modifier and Type||Method and Description|
Compress bytes into
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract void compress(byte bytes, int off, int len, DataOutput out) throws IOException
out. It is the responsibility of the compressor to add all necessary information so that a
Decompressorwill know when to stop decompressing bytes from the stream.
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.