public class ResettableGZIPOutputStream extends DeflaterOutputStream
buf, defout| Constructor and Description |
|---|
ResettableGZIPOutputStream(OutputStream o) |
| Modifier and Type | Method and Description |
|---|---|
void | close() |
void | destroy()Calls super.close(). |
void | finish() |
void | reset()Reinitialze everything so we can write a brand new gzip output stream
again. |
void | write(byte[] buf) |
void | write(byte[] buf,
int off,
int len) |
void | write(int b) |
deflate, flushpublic ResettableGZIPOutputStream(OutputStream o)
o - the underlying output streampublic void close()
throws IOExceptionclose in interface Closeableclose in interface AutoCloseableclose in class DeflaterOutputStreamIOExceptionpublic void destroy()
throws IOExceptionIOExceptionpublic void finish()
throws IOExceptionfinish in class DeflaterOutputStreamIOExceptionpublic void reset()
public void write(byte[] buf)
throws IOExceptionwrite in class FilterOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOExceptionwrite in class DeflaterOutputStreamIOExceptionpublic void write(int b)
throws IOExceptionwrite in class DeflaterOutputStreamIOException