public final class Deflater

  1. Object
  2. ZStream
  3. Deflater

Constructors

public Deflater()
public Deflater(int level) throws GZIPException
public Deflater(int level, boolean nowrap) throws GZIPException
public Deflater(int level, int bits) throws GZIPException
public Deflater(int level, int bits, boolean nowrap) throws GZIPException
public Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType) throws GZIPException
public Deflater(int level, int bits, int memlevel) throws GZIPException

Methods

public int init(int level)
public int init(int level, boolean nowrap)
public int init(int level, int bits)
public int init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)
public int init(int level, int bits, int memlevel)
public int init(int level, int bits, boolean nowrap)
public int deflate(int flush)
public int end()Those methods are expected to be override by Inflater and Deflater.
public int params(int level, int strategy)
public int setDictionary(byte[] dictionary, int dictLength)
public boolean finished()
public int copy(Deflater src)

Inherited fields

Inherited methods

Constructor details

Deflater

public Deflater()

Deflater

public Deflater(int level) throws GZIPException

Deflater

public Deflater(int level, boolean nowrap) throws GZIPException

Deflater

public Deflater(int level, int bits) throws GZIPException

Deflater

public Deflater(int level, int bits, boolean nowrap) throws GZIPException

Deflater

public Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType) throws GZIPException

Deflater

public Deflater(int level, int bits, int memlevel) throws GZIPException

Method details

init

public int init(int level)

init

public int init(int level, boolean nowrap)

init

public int init(int level, int bits)

init

public int init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)

init

public int init(int level, int bits, int memlevel)

init

public int init(int level, int bits, boolean nowrap)

deflate

public int deflate(int flush)

end

public int end()
Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.

params

public int params(int level, int strategy)

setDictionary

public int setDictionary(byte[] dictionary, int dictLength)

finished

public boolean finished()

copy

public int copy(Deflater src)