public class GZIPOutputStream

  1. Object
  2. OutputStream
  3. FilterOutputStream
  4. DeflaterOutputStream
  5. GZIPOutputStream

ImplementsAutoCloseable

Constructors

public GZIPOutputStream(OutputStream out) throws IOException
public GZIPOutputStream(OutputStream out, int size) throws IOException
public GZIPOutputStream(OutputStream out, int size, boolean closeOut) throws IOException
public GZIPOutputStream(OutputStream out, Deflater deflater, int size, boolean closeOut) throws IOException

Methods

public void setModifiedTime(long mtime) throws GZIPException
public void setOS(int os) throws GZIPException
public void setName(String name) throws GZIPException
public void setComment(String comment) throws GZIPException
public long getCRC() throws GZIPException

Inherited fields

Inherited methods

Constructor details

GZIPOutputStream

public GZIPOutputStream(OutputStream out) throws IOException

GZIPOutputStream

public GZIPOutputStream(OutputStream out, int size) throws IOException

GZIPOutputStream

public GZIPOutputStream(OutputStream out, int size, boolean closeOut) throws IOException

GZIPOutputStream

public GZIPOutputStream(OutputStream out, Deflater deflater, int size, boolean closeOut) throws IOException

Method details

setModifiedTime

public void setModifiedTime(long mtime) throws GZIPException

setOS

public void setOS(int os) throws GZIPException

setName

public void setName(String name) throws GZIPException

setComment

public void setComment(String comment) throws GZIPException

getCRC

public long getCRC() throws GZIPException