public class FlushableGZIPOutputStream
extends java.util.zip.GZIPOutputStream
GZIPOutputStream to workaround for a couple of long
 standing JDK bugs
 (Bug
 4255743 and
 Bug
 4813885) so the GZIP'd output can be flushed.| Constructor and Description | 
|---|
| FlushableGZIPOutputStream(java.io.OutputStream os) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected void | deflate() | 
| void | finish() | 
| void | flush() | 
| void | write(byte[] bytes) | 
| void | write(byte[] bytes,
     int offset,
     int length) | 
| void | write(int i) | 
public FlushableGZIPOutputStream(java.io.OutputStream os)
                          throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] bytes)
           throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] bytes,
                  int offset,
                  int length)
           throws java.io.IOException
write in class java.util.zip.GZIPOutputStreamjava.io.IOExceptionpublic void write(int i)
           throws java.io.IOException
write in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionpublic void finish()
            throws java.io.IOException
finish in class java.util.zip.GZIPOutputStreamjava.io.IOExceptionpublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionpublic void flush()
           throws java.io.IOException
flush in interface java.io.Flushableflush in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionprotected void deflate()
                throws java.io.IOException
deflate in class java.util.zip.DeflaterOutputStreamjava.io.IOException