public class GzipOutputStream extends DeflaterOutputStream
GZIPOutputStream that supports reusing a Deflater instance.buf, defout| Constructor and Description |
|---|
GzipOutputStream(OutputStream out,
Deflater deflater,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
void |
write(byte[] buf,
int off,
int len) |
deflate, flush, writewritepublic GzipOutputStream(OutputStream out, Deflater deflater, int size) throws IOException
IOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class DeflaterOutputStreamIOExceptionpublic void finish()
throws IOException
finish in class DeflaterOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DeflaterOutputStreamIOExceptionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.