Class ZStream

java.lang.Object
com.jcraft.jzlib.ZStream
Direct Known Subclasses:
Deflater, Inflater

@Deprecated public class ZStream extends Object
Deprecated.
Not for public use in the future.
ZStream
  • Field Details

    • MAX_WBITS

      private static final int MAX_WBITS
      Deprecated.
      See Also:
    • DEF_WBITS

      private static final int DEF_WBITS
      Deprecated.
      See Also:
    • Z_NO_FLUSH

      private static final int Z_NO_FLUSH
      Deprecated.
      See Also:
    • Z_PARTIAL_FLUSH

      private static final int Z_PARTIAL_FLUSH
      Deprecated.
      See Also:
    • Z_SYNC_FLUSH

      private static final int Z_SYNC_FLUSH
      Deprecated.
      See Also:
    • Z_FULL_FLUSH

      private static final int Z_FULL_FLUSH
      Deprecated.
      See Also:
    • Z_FINISH

      private static final int Z_FINISH
      Deprecated.
      See Also:
    • MAX_MEM_LEVEL

      private static final int MAX_MEM_LEVEL
      Deprecated.
      See Also:
    • Z_OK

      private static final int Z_OK
      Deprecated.
      See Also:
    • Z_STREAM_END

      private static final int Z_STREAM_END
      Deprecated.
      See Also:
    • Z_NEED_DICT

      private static final int Z_NEED_DICT
      Deprecated.
      See Also:
    • Z_ERRNO

      private static final int Z_ERRNO
      Deprecated.
      See Also:
    • Z_STREAM_ERROR

      private static final int Z_STREAM_ERROR
      Deprecated.
      See Also:
    • Z_DATA_ERROR

      private static final int Z_DATA_ERROR
      Deprecated.
      See Also:
    • Z_MEM_ERROR

      private static final int Z_MEM_ERROR
      Deprecated.
      See Also:
    • Z_BUF_ERROR

      private static final int Z_BUF_ERROR
      Deprecated.
      See Also:
    • Z_VERSION_ERROR

      private static final int Z_VERSION_ERROR
      Deprecated.
      See Also:
    • next_in

      public byte[] next_in
      Deprecated.
    • next_in_index

      public int next_in_index
      Deprecated.
    • avail_in

      public int avail_in
      Deprecated.
    • total_in

      public long total_in
      Deprecated.
    • next_out

      public byte[] next_out
      Deprecated.
    • next_out_index

      public int next_out_index
      Deprecated.
    • avail_out

      public int avail_out
      Deprecated.
    • total_out

      public long total_out
      Deprecated.
    • msg

      public String msg
      Deprecated.
    • dstate

      Deflate dstate
      Deprecated.
    • istate

      Inflate istate
      Deprecated.
    • data_type

      int data_type
      Deprecated.
    • adler

      Checksum adler
      Deprecated.
  • Constructor Details

    • ZStream

      public ZStream()
      Deprecated.
    • ZStream

      public ZStream(Checksum adler)
      Deprecated.
  • Method Details

    • inflateInit

      public int inflateInit()
      Deprecated.
    • inflateInit

      public int inflateInit(boolean nowrap)
      Deprecated.
    • inflateInit

      public int inflateInit(int w)
      Deprecated.
    • inflateInit

      public int inflateInit(JZlib.WrapperType wrapperType)
      Deprecated.
    • inflateInit

      public int inflateInit(int w, JZlib.WrapperType wrapperType)
      Deprecated.
    • inflateInit

      public int inflateInit(int w, boolean nowrap)
      Deprecated.
    • inflate

      public int inflate(int f)
      Deprecated.
    • inflateEnd

      public int inflateEnd()
      Deprecated.
    • inflateSync

      public int inflateSync()
      Deprecated.
    • inflateSyncPoint

      public int inflateSyncPoint()
      Deprecated.
    • inflateSetDictionary

      public int inflateSetDictionary(byte[] dictionary, int dictLength)
      Deprecated.
    • inflateFinished

      public boolean inflateFinished()
      Deprecated.
    • deflateInit

      public int deflateInit(int level)
      Deprecated.
    • deflateInit

      public int deflateInit(int level, boolean nowrap)
      Deprecated.
    • deflateInit

      public int deflateInit(int level, int bits)
      Deprecated.
    • deflateInit

      public int deflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)
      Deprecated.
    • deflateInit

      public int deflateInit(int level, int bits, int memlevel)
      Deprecated.
    • deflateInit

      public int deflateInit(int level, int bits, boolean nowrap)
      Deprecated.
    • deflate

      public int deflate(int flush)
      Deprecated.
    • deflateEnd

      public int deflateEnd()
      Deprecated.
    • deflateParams

      public int deflateParams(int level, int strategy)
      Deprecated.
    • deflateSetDictionary

      public int deflateSetDictionary(byte[] dictionary, int dictLength)
      Deprecated.
    • flush_pending

      void flush_pending()
      Deprecated.
    • read_buf

      int read_buf(byte[] buf, int start, int size)
      Deprecated.
    • getAdler

      public long getAdler()
      Deprecated.
    • free

      public void free()
      Deprecated.
    • setOutput

      public void setOutput(byte[] buf)
      Deprecated.
    • setOutput

      public void setOutput(byte[] buf, int off, int len)
      Deprecated.
    • setInput

      public void setInput(byte[] buf)
      Deprecated.
    • setInput

      public void setInput(byte[] buf, boolean append)
      Deprecated.
    • setInput

      public void setInput(byte[] buf, int off, int len, boolean append)
      Deprecated.
    • getNextIn

      public byte[] getNextIn()
      Deprecated.
    • setNextIn

      public void setNextIn(byte[] next_in)
      Deprecated.
    • getNextInIndex

      public int getNextInIndex()
      Deprecated.
    • setNextInIndex

      public void setNextInIndex(int next_in_index)
      Deprecated.
    • getAvailIn

      public int getAvailIn()
      Deprecated.
    • setAvailIn

      public void setAvailIn(int avail_in)
      Deprecated.
    • getNextOut

      public byte[] getNextOut()
      Deprecated.
    • setNextOut

      public void setNextOut(byte[] next_out)
      Deprecated.
    • getNextOutIndex

      public int getNextOutIndex()
      Deprecated.
    • setNextOutIndex

      public void setNextOutIndex(int next_out_index)
      Deprecated.
    • getAvailOut

      public int getAvailOut()
      Deprecated.
    • setAvailOut

      public void setAvailOut(int avail_out)
      Deprecated.
    • getTotalOut

      public long getTotalOut()
      Deprecated.
    • getTotalIn

      public long getTotalIn()
      Deprecated.
    • getMessage

      public String getMessage()
      Deprecated.
    • end

      public int end()
      Deprecated.
      Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.
      Returns:
      an error code
    • finished

      public boolean finished()
      Deprecated.