Closeable, Flushable, AutoCloseable, OutputStreamWrapperpublic class GZipInflatingOutputStream extends OutputStream implements OutputStreamWrapper
| Modifier and Type | Field | Description |
|---|---|---|
static int |
GZIP_MAGIC |
| Constructor | Description |
|---|---|
GZipInflatingOutputStream(OutputStream outputStream) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
OutputStream |
getWrappedOutputStream() |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic 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 AutoCloseableclose in interface Closeableclose in class OutputStreamIOExceptionpublic OutputStream getWrappedOutputStream()
getWrappedOutputStream in interface OutputStreamWrapper