public class GZipInflatingOutputStream extends java.io.OutputStream implements OutputStreamWrapper
Modifier and Type | Field and Description |
---|---|
static int |
GZIP_MAGIC |
Constructor and Description |
---|
GZipInflatingOutputStream(java.io.OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
java.io.OutputStream |
getWrappedOutputStream() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int value) |
public static final int GZIP_MAGIC
public GZipInflatingOutputStream(java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public void write(int value) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public java.io.OutputStream getWrappedOutputStream()
getWrappedOutputStream
in interface OutputStreamWrapper