Class Inflater


  • public final class Inflater
    extends ZStream
    • Method Detail

      • init

        public int init()
      • init

        public int init​(boolean nowrap)
      • init

        public int init​(int w)
      • init

        public int init​(int w,
                        boolean nowrap)
      • inflate

        public int inflate​(int f)
        Overrides:
        inflate in class ZStream
      • end

        public int end()
        Description copied from class: ZStream
        Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.
        Overrides:
        end in class ZStream
        Returns:
        an error code
      • sync

        public int sync()
      • syncPoint

        public int syncPoint()
      • setDictionary

        public int setDictionary​(byte[] dictionary,
                                 int dictLength)
      • finished

        public boolean finished()
        Overrides:
        finished in class ZStream