Class ZStream

java.lang.Object
com.codename1.io.gzip.ZStream
Direct Known Subclasses:
Deflater, Inflater

@Deprecated public class ZStream extends Object
Deprecated.

ZStream

Deprecated

Not for public use in the future.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Deprecated.
     
    int
    Deprecated.
     
    Deprecated.
     
    byte[]
    Deprecated.
     
    int
    Deprecated.
     
    byte[]
    Deprecated.
     
    int
    Deprecated.
     
    long
    Deprecated.
     
    long
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    ZStream(com.codename1.io.gzip.Checksum adler)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    deflate(int flush)
    Deprecated.
     
    int
    Deprecated.
     
    int
    deflateInit(int level)
    Deprecated.
     
    int
    deflateInit(int level, boolean nowrap)
    Deprecated.
     
    int
    deflateInit(int level, int bits)
    Deprecated.
     
    int
    deflateInit(int level, int bits, boolean nowrap)
    Deprecated.
     
    int
    deflateInit(int level, int bits, int memlevel)
    Deprecated.
     
    int
    deflateInit(int level, int bits, int memlevel, com.codename1.io.gzip.JZlib.WrapperType wrapperType)
    Deprecated.
     
    int
    deflateParams(int level, int strategy)
    Deprecated.
     
    int
    deflateSetDictionary(byte[] dictionary, int dictLength)
    Deprecated.
     
    int
    end()
    Deprecated.
    Those methods are expected to be override by Inflater and Deflater.
    boolean
    Deprecated.
     
    void
    Deprecated.
     
    long
    Deprecated.
     
    int
    Deprecated.
     
    int
    Deprecated.
     
    Deprecated.
     
    byte[]
    Deprecated.
     
    int
    Deprecated.
     
    byte[]
    Deprecated.
     
    int
    Deprecated.
     
    long
    Deprecated.
     
    long
    Deprecated.
     
    int
    inflate(int f)
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    int
    inflateInit(boolean nowrap)
    Deprecated.
     
    int
    inflateInit(int w)
    Deprecated.
     
    int
    inflateInit(int w, boolean nowrap)
    Deprecated.
     
    int
    inflateInit(int w, com.codename1.io.gzip.JZlib.WrapperType wrapperType)
    Deprecated.
     
    int
    inflateInit(com.codename1.io.gzip.JZlib.WrapperType wrapperType)
    Deprecated.
     
    int
    inflateSetDictionary(byte[] dictionary, int dictLength)
    Deprecated.
     
    int
    Deprecated.
     
    int
    Deprecated.
     
    void
    setAvailIn(int availIn)
    Deprecated.
     
    void
    setAvailOut(int availOut)
    Deprecated.
     
    void
    setInput(byte[] buf)
    Deprecated.
     
    void
    setInput(byte[] buf, boolean append)
    Deprecated.
     
    void
    setInput(byte[] buf, int off, int len, boolean append)
    Deprecated.
     
    void
    setNextIn(byte[] nextIn)
    Deprecated.
     
    void
    setNextInIndex(int nextInIndex)
    Deprecated.
     
    void
    setNextOut(byte[] nextOut)
    Deprecated.
     
    void
    setNextOutIndex(int nextOutIndex)
    Deprecated.
     
    void
    setOutput(byte[] buf)
    Deprecated.
     
    void
    setOutput(byte[] buf, int off, int len)
    Deprecated.
     

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    Modifier and Type
    Method
    Description
    protected Object
     
    boolean
    Indicates whether some other object is "equal to" this one.
    final Class
    Returns the runtime class of an object.
    int
    Returns a hash code value for the object.
    final void
    Wakes up a single thread that is waiting on this object's monitor.
    final void
    Wakes up all threads that are waiting on this object's monitor.
    Returns a string representation of the object.
    final void
    Causes current thread to wait until another thread invokes the method or the method for this object.
    final void
    wait(long timeout)
    Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.
    final void
    wait(long timeout, int nanos)
    Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
  • Field Details

    • nextIn

      public byte[] nextIn
      Deprecated.
    • nextInIndex

      public int nextInIndex
      Deprecated.
    • availIn

      public int availIn
      Deprecated.
    • totalIn

      public long totalIn
      Deprecated.
    • nextOut

      public byte[] nextOut
      Deprecated.
    • nextOutIndex

      public int nextOutIndex
      Deprecated.
    • availOut

      public int availOut
      Deprecated.
    • totalOut

      public long totalOut
      Deprecated.
    • msg

      public String msg
      Deprecated.
  • Constructor Details

    • ZStream

      public ZStream()
      Deprecated.
    • ZStream

      public ZStream(com.codename1.io.gzip.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(com.codename1.io.gzip.JZlib.WrapperType wrapperType)
      Deprecated.
    • inflateInit

      public int inflateInit(int w, com.codename1.io.gzip.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, com.codename1.io.gzip.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.
    • 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[] nextIn)
      Deprecated.
    • getNextInIndex

      public int getNextInIndex()
      Deprecated.
    • setNextInIndex

      public void setNextInIndex(int nextInIndex)
      Deprecated.
    • getAvailIn

      public int getAvailIn()
      Deprecated.
    • setAvailIn

      public void setAvailIn(int availIn)
      Deprecated.
    • getNextOut

      public byte[] getNextOut()
      Deprecated.
    • setNextOut

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

      public int getNextOutIndex()
      Deprecated.
    • setNextOutIndex

      public void setNextOutIndex(int nextOutIndex)
      Deprecated.
    • getAvailOut

      public int getAvailOut()
      Deprecated.
    • setAvailOut

      public void setAvailOut(int availOut)
      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.
    • finished

      public boolean finished()
      Deprecated.