Closeable
, Flushable
, AutoCloseable
class GunzipOutputStream extends InflaterOutputStream
out
buf, 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, flush
public GunzipOutputStream(OutputStream uncompressedStream) throws IOException
IOException
public void write(int b) throws IOException
write
in class InflaterOutputStream
IOException
public void write(byte[] buf) throws IOException
write
in class FilterOutputStream
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 AutoCloseable
close
in interface Closeable
close
in class InflaterOutputStream
IOException