public class GZIPOutputStream extends DeflaterOutputStream
buffer, DEFAULT_BUFSIZE, deflater, mydeflaterout| Constructor and Description |
|---|
GZIPOutputStream(OutputStream out) |
GZIPOutputStream(OutputStream out,
Deflater deflater,
int size,
boolean close_out) |
GZIPOutputStream(OutputStream out,
int size) |
GZIPOutputStream(OutputStream out,
int size,
boolean close_out) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCRC() |
void |
setComment(String comment) |
void |
setModifiedTime(long mtime) |
void |
setName(String name) |
void |
setOS(int os) |
close, deflate, finish, flush, getDeflater, getSyncFlush, getTotalIn, getTotalOut, setSyncFlush, write, writewritepublic GZIPOutputStream(OutputStream out) throws IOException
IOExceptionpublic GZIPOutputStream(OutputStream out, int size) throws IOException
IOExceptionpublic GZIPOutputStream(OutputStream out, int size, boolean close_out) throws IOException
IOExceptionpublic GZIPOutputStream(OutputStream out, Deflater deflater, int size, boolean close_out) throws IOException
IOExceptionpublic void setModifiedTime(long mtime)
throws GZIPException
GZIPExceptionpublic void setOS(int os)
throws GZIPException
GZIPExceptionpublic void setName(String name) throws GZIPException
GZIPExceptionpublic void setComment(String comment) throws GZIPException
GZIPExceptionpublic long getCRC()
throws GZIPException
GZIPException