Example usage for Java java.util.jar JarEntry fields, constructors, methods, implement or subclass
The text is from its open source code.
JarEntry(String name) Creates a new JarEntry for the specified JAR file entry name. | |
JarEntry(ZipEntry ze) Creates a new JarEntry with fields taken from the specified ZipEntry object. | |
JarEntry(JarEntry je) Creates a new JarEntry with fields taken from the specified JarEntry object. |
Attributes | getAttributes() Returns the Manifest Attributes for this entry, or null if none. |
Certificate[] | getCertificates() Returns the Certificate objects for this entry, or null if none. |
CodeSigner[] | getCodeSigners() Returns the CodeSigner objects for this entry, or null if none. |
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. |
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. |
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. |
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. |