GZIPArchive.ReadEntry
, GZIPArchive.WriteEntry
public static class GZIPArchive.Entry
extends java.lang.Object
GZIPArchive.ReadEntry
or GZIPArchive.WriteEntry
.Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
comment |
An internal representation of the comment of the entry.
|
int |
compressedSkipLength |
The actual (compressed) length of the entry.
|
int |
crc32 |
The CRC of the entry.
|
int |
mtime |
The modification time of the entry.
|
protected byte[] |
name |
An internal representation of the name of the entry.
|
int |
uncompressedSkipLength |
The length of the entry one uncompressed.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getComment() |
Returns the comment of the entry.
|
java.lang.String |
getName() |
Returns the name of the entry.
|
void |
setComment(java.lang.String comment) |
Sets the comment of the entry.
|
void |
setName(java.lang.String name) |
Sets the name of the entry.
|
java.lang.String |
toString() |
public int compressedSkipLength
public int uncompressedSkipLength
public int mtime
public int crc32
protected byte[] name
protected byte[] comment
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the entry.public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the comment of the entry.public java.lang.String toString()
toString
in class java.lang.Object