Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public class Deflater extends Object {
// Public Constructors
public Deflater(int level, boolean nowrap);
public Deflater(int level);
public Deflater();
// Constants
public static final int BEST_COMPRESSION;
public static final int BEST_SPEED;
public static final int DEFAULT_COMPRESSION;
public static final int DEFAULT_STRATEGY;
public static final int DEFLATED;
public static final int FILTERED;
public static final int HUFFMAN_ONLY;
public static final int NO_COMPRESSION;
// Public Instance Methods
public synchronized native int deflate(byte[] b, int off, int len);
public int deflate(byte[] b);
public synchronized native void end();
public synchronized void finish();
public synchronized boolean finished();
public synchronized native int getAdler();
public synchronized native int getTotalIn();
public synchronized native int getTotalOut();
public boolean needsInput();
public synchronized native void reset();
public synchronized native void setDictionary(byte[] b, int off, int len);
public void setDictionary(byte[] b);
public synchronized void setInput(byte[] b, int off, int len);
public void setInput(byte[] b);
public synchronized void setLevel(int Level);
public synchronized void setStrategy(int strategy);
// Protected Instance Methods
protected void finalize(); // Overrides Object.finalize()
}