Closeable
, Flushable
, AutoCloseable
, OutputStreamWrapper
public 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, wait
write
public static final int GZIP_MAGIC
public GZipInflatingOutputStream(OutputStream outputStream) throws IOException
IOException
public void write(int value) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class OutputStream
IOException
public OutputStream getWrappedOutputStream()
getWrappedOutputStream
in interface OutputStreamWrapper