Closeable, Flushable, AutoCloseableclass GunzipOutputStream extends InflaterOutputStream
outbuf, inf| Constructor | Description |
|---|---|
GunzipOutputStream(OutputStream uncompressedStream) |
Build a new Gunzip stream
|
| Modifier and Type | Method | 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) |
|
void |
write(byte[] buf,
int off,
int len) |
|
void |
write(int b) |
finish, flushpublic GunzipOutputStream(OutputStream uncompressedStream) throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class InflaterOutputStreamIOExceptionpublic void write(byte[] buf)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class InflaterOutputStreamIOExceptionpublic long getTotalRead()
public long getTotalExpanded()
public long getRemaining()
public boolean getFinished()
public void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class InflaterOutputStreamIOException