Example usage for Java java.util.zip ZipEntry fields, constructors, methods, implement or subclass
The text is from its open source code.
int | STORED Compression method for uncompressed entries. |
int | DEFLATED Compression method for compressed (deflated) entries. |
ZipEntry(String name) Creates a new zip entry with the specified name. | |
ZipEntry(ZipEntry e) Creates a new zip entry with fields taken from the specified zip entry. |
Object | clone() Returns a copy of this entry. |
String | getComment() Returns the comment string for the entry. |
long | getCompressedSize() Returns the size of the compressed entry data. |
long | getCrc() Returns the CRC-32 checksum of the uncompressed entry data. |
byte[] | getExtra() Returns the extra field data for the entry. |
FileTime | getLastModifiedTime() Returns the last modification time of the entry. |
int | getMethod() Returns the compression method of the entry. |
String | getName() Returns the name of the entry. |
long | getSize() Returns the uncompressed size of the entry data. |
long | getTime() Returns the last modification time of the entry. |
int | hashCode() Returns the hash code value for this entry. |
boolean | isDirectory() Returns true if this is a directory entry. |
void | setComment(String comment) Sets the optional comment string for the entry. |
void | setCompressedSize(long csize) Sets the size of the compressed entry data. |
void | setCrc(long crc) Sets the CRC-32 checksum of the uncompressed entry data. |
ZipEntry | setCreationTime(FileTime time) Sets the creation time of the entry. |
void | setExtra(byte[] extra) Sets the optional extra field data for the entry. |
void | setMethod(int method) Sets the compression method for the entry. |
void | setSize(long size) Sets the uncompressed size of the entry data. |
void | setTime(long time) Sets the last modification time of the entry. |
String | toString() Returns a string representation of the ZIP entry. |