Package com.jcraft.jzlib
Class GZIPHeader
- java.lang.Object
-
- com.jcraft.jzlib.GZIPHeader
-
- All Implemented Interfaces:
java.lang.Cloneable
public class GZIPHeader extends java.lang.Object implements java.lang.Cloneable- See Also:
- http://www.ietf.org/rfc/rfc1952.txt
-
-
Field Summary
Fields Modifier and Type Field Description static byteOS_AMIGAstatic byteOS_ATARIstatic byteOS_CPMstatic byteOS_MACOSstatic byteOS_MSDOSstatic byteOS_OS2static byteOS_QDOSstatic byteOS_RISCOSstatic byteOS_TOPS20static byteOS_UNIXstatic byteOS_UNKNOWNstatic byteOS_VMCMSstatic byteOS_VMSstatic byteOS_WIN32static byteOS_ZSYSTEM
-
Constructor Summary
Constructors Constructor Description GZIPHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetComment()longgetCRC()longgetModifiedTime()java.lang.StringgetName()intgetOS()voidsetComment(java.lang.String comment)voidsetCRC(long crc)voidsetModifiedTime(long mtime)voidsetName(java.lang.String name)voidsetOS(int os)
-
-
-
Field Detail
-
OS_MSDOS
public static final byte OS_MSDOS
- See Also:
- Constant Field Values
-
OS_AMIGA
public static final byte OS_AMIGA
- See Also:
- Constant Field Values
-
OS_VMS
public static final byte OS_VMS
- See Also:
- Constant Field Values
-
OS_UNIX
public static final byte OS_UNIX
- See Also:
- Constant Field Values
-
OS_ATARI
public static final byte OS_ATARI
- See Also:
- Constant Field Values
-
OS_OS2
public static final byte OS_OS2
- See Also:
- Constant Field Values
-
OS_MACOS
public static final byte OS_MACOS
- See Also:
- Constant Field Values
-
OS_TOPS20
public static final byte OS_TOPS20
- See Also:
- Constant Field Values
-
OS_WIN32
public static final byte OS_WIN32
- See Also:
- Constant Field Values
-
OS_VMCMS
public static final byte OS_VMCMS
- See Also:
- Constant Field Values
-
OS_ZSYSTEM
public static final byte OS_ZSYSTEM
- See Also:
- Constant Field Values
-
OS_CPM
public static final byte OS_CPM
- See Also:
- Constant Field Values
-
OS_QDOS
public static final byte OS_QDOS
- See Also:
- Constant Field Values
-
OS_RISCOS
public static final byte OS_RISCOS
- See Also:
- Constant Field Values
-
OS_UNKNOWN
public static final byte OS_UNKNOWN
- See Also:
- Constant Field Values
-
-
Method Detail
-
setModifiedTime
public void setModifiedTime(long mtime)
-
getModifiedTime
public long getModifiedTime()
-
setOS
public void setOS(int os)
-
getOS
public int getOS()
-
setName
public void setName(java.lang.String name)
-
getName
public java.lang.String getName()
-
setComment
public void setComment(java.lang.String comment)
-
getComment
public java.lang.String getComment()
-
setCRC
public void setCRC(long crc)
-
getCRC
public long getCRC()
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
-