Class Inflater
java.lang.Object
com.codename1.io.gzip.ZStream
com.codename1.io.gzip.Inflater
-
Field Summary
Fields inherited from class ZStream
availIn, availOut, msg, nextIn, nextInIndex, nextOut, nextOutIndex, totalIn, totalOutModifier and TypeFieldDescriptionintDeprecated.intDeprecated.Deprecated.byte[]Deprecated.intDeprecated.byte[]Deprecated.intDeprecated.longDeprecated.longDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintend()Those methods are expected to be override by Inflater and Deflater.booleanfinished()intinflate(int f) intinit()intinit(boolean nowrap) intinit(int w) intinit(int w, boolean nowrap) intinit(int w, com.codename1.io.gzip.JZlib.WrapperType wrapperType) intinit(com.codename1.io.gzip.JZlib.WrapperType wrapperType) intsetDictionary(byte[] dictionary, int dictLength) intsync()intMethods inherited from class ZStream
deflate, deflateEnd, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateParams, deflateSetDictionary, free, getAdler, getAvailIn, getAvailOut, getMessage, getNextIn, getNextInIndex, getNextOut, getNextOutIndex, getTotalIn, getTotalOut, inflateEnd, inflateFinished, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateSetDictionary, inflateSync, inflateSyncPoint, setAvailIn, setAvailOut, setInput, setInput, setInput, setNextIn, setNextInIndex, setNextOut, setNextOutIndex, setOutput, setOutputModifier and TypeMethodDescriptionintdeflate(int flush) Deprecated.intDeprecated.intdeflateInit(int level) Deprecated.intdeflateInit(int level, boolean nowrap) Deprecated.intdeflateInit(int level, int bits) Deprecated.intdeflateInit(int level, int bits, boolean nowrap) Deprecated.intdeflateInit(int level, int bits, int memlevel) Deprecated.intdeflateInit(int level, int bits, int memlevel, com.codename1.io.gzip.JZlib.WrapperType wrapperType) Deprecated.intdeflateParams(int level, int strategy) Deprecated.intdeflateSetDictionary(byte[] dictionary, int dictLength) Deprecated.voidfree()Deprecated.longgetAdler()Deprecated.intDeprecated.intDeprecated.Deprecated.byte[]Deprecated.intDeprecated.byte[]Deprecated.intDeprecated.longDeprecated.longDeprecated.intDeprecated.booleanDeprecated.intDeprecated.intinflateInit(boolean nowrap) Deprecated.intinflateInit(int w) Deprecated.intinflateInit(int w, boolean nowrap) Deprecated.intinflateInit(int w, com.codename1.io.gzip.JZlib.WrapperType wrapperType) Deprecated.intinflateInit(com.codename1.io.gzip.JZlib.WrapperType wrapperType) Deprecated.intinflateSetDictionary(byte[] dictionary, int dictLength) Deprecated.intDeprecated.intDeprecated.voidsetAvailIn(int availIn) Deprecated.voidsetAvailOut(int availOut) Deprecated.voidsetInput(byte[] buf) Deprecated.voidsetInput(byte[] buf, boolean append) Deprecated.voidsetInput(byte[] buf, int off, int len, boolean append) Deprecated.voidsetNextIn(byte[] nextIn) Deprecated.voidsetNextInIndex(int nextInIndex) Deprecated.voidsetNextOut(byte[] nextOut) Deprecated.voidsetNextOutIndex(int nextOutIndex) Deprecated.voidsetOutput(byte[] buf) Deprecated.voidsetOutput(byte[] buf, int off, int len) Deprecated.Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()booleanIndicates whether some other object is "equal to" this one.final ClassgetClass()Returns the runtime class of an object.inthashCode()Returns a hash code value for the object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes current thread to wait until another thread invokes the method or the method for this object.final voidwait(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 voidwait(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.
-
Constructor Details
-
Inflater
public Inflater() -
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
Inflater
- Throws:
GZIPException
-
-
Method Details
-
init
public int init() -
init
public int init(com.codename1.io.gzip.JZlib.WrapperType wrapperType) -
init
public int init(int w, com.codename1.io.gzip.JZlib.WrapperType wrapperType) -
init
public int init(boolean nowrap) -
init
public int init(int w) -
init
public int init(int w, boolean nowrap) -
inflate
-
end
-
sync
public int sync() -
syncPoint
public int syncPoint() -
setDictionary
public int setDictionary(byte[] dictionary, int dictLength) -
finished
-