Example usage for Java org.apache.commons.compress.archivers.zip ZipFile fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | entries Maps ZipArchiveEntrys to Longs, recording the offsets of the local file headers. |
ZipFile(File f) Opens the given file for reading, assuming "UTF8" for file names. | |
ZipFile(String name) Opens the given file for reading, assuming "UTF8". | |
ZipFile(File f, String encoding, boolean useUnicodeExtraFields) Opens the given file for reading, assuming the specified encoding for file names. | |
ZipFile(String name, String encoding) Opens the given file for reading, assuming the specified encoding for file names, scanning unicode extra fields. | |
ZipFile(File f, String encoding) Opens the given file for reading, assuming the specified encoding for file names and scanning for unicode extra fields. |
boolean | canReadEntryData(ZipArchiveEntry ze) Whether this class is able to read the given entry. |
void | close() Closes the archive. |
void | closeQuietly(ZipFile zipfile) close a zipfile quietly; throw no io fault, do nothing on a null parameter |
Class> | getClass() Returns the runtime class of this Object . |
String | getEncoding() The encoding to use for filenames and the file comment. |
Enumeration | getEntries() Returns all entries. |
Enumeration | getEntriesInPhysicalOrder() Returns all entries in physical order. |
ZipArchiveEntry | getEntry(String name) Returns a named entry - or null if no entry by that name exists. |
InputStream | getInputStream(ZipArchiveEntry ze) Returns an InputStream for reading the contents of the given entry. |