Closeable, Flushable, AutoCloseableReusableGZIPOutputStreampublic class ResettableGZIPOutputStream extends DeflaterOutputStream
buf, defout| Constructor | Description |
|---|---|
ResettableGZIPOutputStream(OutputStream o) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
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)
public void reset()
public void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class DeflaterOutputStreamIOExceptionpublic void finish()
throws IOException
finish in class DeflaterOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class DeflaterOutputStreamIOExceptionpublic void write(byte[] buf)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class DeflaterOutputStreamIOException