Example usage for Java java.util.zip ZipFile fields, constructors, methods, implement or subclass
The text is from its open source code.
int | OPEN_READ Mode flag to open a zip file for reading. |
int | OPEN_DELETE Mode flag to open a zip file and mark it for deletion. |
ZipFile(File file, int mode) Opens a new ZipFile to read from the specified File object in the specified mode. | |
ZipFile(String name, Charset charset) Opens a zip file for reading. | |
ZipFile(File file, Charset charset) Opens a ZIP file for reading given the specified File object. | |
ZipFile(String name) Opens a zip file for reading. | |
ZipFile(File file) Opens a ZIP file for reading given the specified File object. | |
ZipFile(File file, int mode, Charset charset) Opens a new ZipFile to read from the specified File object in the specified mode. |
void | close() Closes the ZIP file. |
Enumeration extends ZipEntry> | entries() Returns an enumeration of the ZIP file entries. |
String | getComment() Returns the zip file comment, or null if none. |
ZipEntry | getEntry(String name) Returns the zip file entry for the specified name, or null if not found. |
InputStream | getInputStream(ZipEntry entry) Returns an input stream for reading the contents of the specified zip file entry. |
String | getName() Returns the path name of the ZIP file. |
int | hashCode() Returns a hash code value for the object. |
int | size() Returns the number of entries in the ZIP file. |
Stream extends ZipEntry> | stream() Returns an ordered Stream over the ZIP file entries. |
String | toString() Returns a string representation of the object. |