public class GzipOutputStream extends DeflaterOutputStream
GZIPOutputStream
that supports reusing a Deflater
instance.buf, def
out
Constructor and Description |
---|
GzipOutputStream(OutputStream out,
Deflater deflater,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finish() |
void |
write(byte[] buf,
int off,
int len) |
deflate, flush, write
write
public GzipOutputStream(OutputStream out, Deflater deflater, int size) throws IOException
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in class DeflaterOutputStream
IOException
public void finish() throws IOException
finish
in class DeflaterOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class DeflaterOutputStream
IOException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.