Example usage for Java java.util.jar JarFile fields, constructors, methods, implement or subclass
The text is from its open source code.
String | MANIFEST_NAME The JAR manifest file name. |
JarFile(File file, boolean verify, int mode) Creates a new JarFile to read from the specified File object in the specified mode. | |
JarFile(String name) Creates a new JarFile to read from the specified file name . | |
JarFile(File file) Creates a new JarFile to read from the specified File object. | |
JarFile(String name, boolean verify) Creates a new JarFile to read from the specified file name . | |
JarFile(File file, boolean verify) Creates a new JarFile to read from the specified File object. |
void | close() Closes the ZIP file. |
Enumeration | entries() Returns an enumeration of the jar file entries. |
Class> | getClass() Returns the runtime class of this Object . |
ZipEntry | getEntry(String name) Returns the ZipEntry for the given base entry name or null if not found. |
InputStream | getInputStream(ZipEntry ze) Returns an input stream for reading the contents of the specified zip file entry. |
JarEntry | getJarEntry(String name) Returns the JarEntry for the given base entry name or null if not found. |
Manifest | getManifest() Returns the jar file manifest, or null if none. |
String | getName() Returns the path name of the ZIP file. |
int | size() Returns the number of entries in the ZIP file. |
Stream | stream() Returns an ordered Stream over the jar file entries. |