public class GunzipOutputStream extends InflaterOutputStream
buf, inf
out
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, flush
write
public GunzipOutputStream(OutputStream uncompressedStream) throws IOException
IOException
public GunzipOutputStream(OutputStream uncompressedStream, LimitOutputStream.DoneCallback cb) throws IOException
cb
- may be nullIOException
public void write(int b) throws IOException
write
in class InflaterOutputStream
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in class InflaterOutputStream
IOException
public long getTotalRead()
public long getTotalExpanded()
public long getRemaining()
public boolean getFinished()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InflaterOutputStream
IOException