public class GZIPHeader
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
comment |
(package private) long |
crc |
(package private) boolean |
done |
(package private) byte[] |
extra |
private boolean |
fhcrc |
(package private) int |
hcrc |
(package private) long |
mtime |
(package private) byte[] |
name |
(package private) int |
os |
static byte |
OS_AMIGA |
static byte |
OS_ATARI |
static byte |
OS_CPM |
static byte |
OS_MACOS |
static byte |
OS_MSDOS |
static byte |
OS_OS2 |
static byte |
OS_QDOS |
static byte |
OS_RISCOS |
static byte |
OS_TOPS20 |
static byte |
OS_UNIX |
static byte |
OS_UNKNOWN |
static byte |
OS_VMCMS |
static byte |
OS_VMS |
static byte |
OS_WIN32 |
static byte |
OS_ZSYSTEM |
(package private) boolean |
text |
(package private) long |
time |
(package private) int |
xflags |
Constructor and Description |
---|
GZIPHeader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getComment() |
long |
getCRC() |
long |
getModifiedTime() |
java.lang.String |
getName() |
int |
getOS() |
(package private) void |
put(Deflate d) |
void |
setComment(java.lang.String comment) |
void |
setCRC(long crc) |
void |
setModifiedTime(long mtime) |
void |
setName(java.lang.String name) |
void |
setOS(int os) |
public static final byte OS_MSDOS
public static final byte OS_AMIGA
public static final byte OS_VMS
public static final byte OS_UNIX
public static final byte OS_ATARI
public static final byte OS_OS2
public static final byte OS_MACOS
public static final byte OS_TOPS20
public static final byte OS_WIN32
public static final byte OS_VMCMS
public static final byte OS_ZSYSTEM
public static final byte OS_CPM
public static final byte OS_QDOS
public static final byte OS_RISCOS
public static final byte OS_UNKNOWN
boolean text
private boolean fhcrc
long time
int xflags
int os
byte[] extra
byte[] name
byte[] comment
int hcrc
long crc
boolean done
long mtime
public void setModifiedTime(long mtime)
public long getModifiedTime()
public void setOS(int os)
public int getOS()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setComment(java.lang.String comment)
public java.lang.String getComment()
public void setCRC(long crc)
public long getCRC()
void put(Deflate d)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException