public class GunzipOutputStream extends InflaterOutputStream
buf, infout| Constructor and Description |
|---|
GunzipOutputStream(OutputStream uncompressedStream)Build a new Gunzip stream |
GunzipOutputStream(OutputStream uncompressedStream,
LimitOutputStream.DoneCallback cb)With a callback when done |
| Modifier and Type | Method and Description |
|---|---|
void | close() |
boolean | getFinished()Inflater statistic |
long | getRemaining()Inflater statistic |
long | getTotalExpanded()Inflater statistic |
long | getTotalRead()Inflater statistic |
String | toString() |
void | write(byte[] buf,
int off,
int len) |
void | write(int b) |
finish, flushwritepublic GunzipOutputStream(OutputStream uncompressedStream) throws IOException
IOExceptionpublic GunzipOutputStream(OutputStream uncompressedStream, LimitOutputStream.DoneCallback cb)
cb - may be nullpublic void close()
throws IOExceptionclose in interface Closeableclose in interface AutoCloseableclose in class InflaterOutputStreamIOExceptionpublic boolean getFinished()
public long getRemaining()
public long getTotalExpanded()
public long getTotalRead()
public void write(byte[] buf,
int off,
int len)
throws IOExceptionwrite in class InflaterOutputStreamIOExceptionpublic void write(int b)
throws IOExceptionwrite in class InflaterOutputStreamIOException