|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
long |
getChecksum()
Returns the checksum of the uncompressed entry data, or -1 if not known. |
java.lang.String |
getComment()
|
long |
getCompressedSize()
Returns the size of the compressed entry data, or -1 if not known. |
java.lang.String |
getName()
Returns the name of the entry. |
long |
getTime()
Returns the modification time of the entry, or -1 if not specified. |
long |
getUncompressedSize()
Returns the uncompressed size of the entry data, or -1 if not known. |
int |
hashCode()
Returns the hash code value for this entry. |
boolean |
isDirectory()
Returns true if this is a directory entry. |
boolean |
isEncrypted()
|
void |
setChecksum(long value)
Returns the checksum of the uncompressed entry data, or -1 if not known. |
void |
setComment(java.lang.String fileComment)
Sets the optional comment string for the entry. |
void |
setCompressedSize(long size)
Sets the compressed size of the entry data. |
void |
setEncrypted(boolean state)
Sets the the encyption state of the entry. |
void |
setTime(long modifiedTimeDate)
Sets the modification date and time of the entry. |
void |
setUncompressedSize(long size)
Sets the uncompressed size of the entry data. |
java.lang.String |
toString()
|
Method Detail |
public boolean isEncrypted()
public void setEncrypted(boolean state)
state
- true or falsepublic java.lang.String getName()
public boolean isDirectory()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setTime(long modifiedTimeDate)
time
- the entry modification time in number of milliseconds
since the epochpublic long getTime()
public long getUncompressedSize()
public void setUncompressedSize(long size)
public long getCompressedSize()
public void setCompressedSize(long size)
public long getChecksum()
public void setChecksum(long value)
public void setComment(java.lang.String fileComment)
comment
- the comment stringpublic java.lang.String getComment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |