public class ResettableGZIPOutputStream extends DeflaterOutputStream
buf, def
out
Constructor and Description |
---|
ResettableGZIPOutputStream(OutputStream o) |
Modifier and Type | Method and 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, flush
public ResettableGZIPOutputStream(OutputStream o)
public void reset()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class DeflaterOutputStream
IOException
public void finish() throws IOException
finish
in class DeflaterOutputStream
IOException
public void write(int b) throws IOException
write
in class DeflaterOutputStream
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 DeflaterOutputStream
IOException