public class GZipInflatingOutputStream extends OutputStream implements OutputStreamWrapper
| Modifier and Type | Field and Description |
|---|---|
static int |
GZIP_MAGIC |
| Constructor and Description |
|---|
GZipInflatingOutputStream(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
OutputStream |
getWrappedOutputStream() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int value) |
writepublic static final int GZIP_MAGIC
public GZipInflatingOutputStream(OutputStream outputStream) throws IOException
IOExceptionpublic void write(int value)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic OutputStream getWrappedOutputStream()
getWrappedOutputStream in interface OutputStreamWrapper