public class GZIPOutputStream extends DeflaterOutputStream
buffer, DEFAULT_BUFSIZE, deflater, mydeflater
out
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, write
write
public GZIPOutputStream(OutputStream out) throws IOException
IOException
public GZIPOutputStream(OutputStream out, int size) throws IOException
IOException
public GZIPOutputStream(OutputStream out, int size, boolean close_out) throws IOException
IOException
public GZIPOutputStream(OutputStream out, Deflater deflater, int size, boolean close_out) throws IOException
IOException
public void setModifiedTime(long mtime) throws GZIPException
GZIPException
public void setOS(int os) throws GZIPException
GZIPException
public void setName(String name) throws GZIPException
GZIPException
public void setComment(String comment) throws GZIPException
GZIPException
public long getCRC() throws GZIPException
GZIPException