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) throws IOException
cb - may be nullIOExceptionpublic void close()
throws IOException
close 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 IOException
write in class InflaterOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class InflaterOutputStreamIOException