JarFile
Class JarFile
- java.lang.Object
-
- java.util.zip.ZipFile
-
- java.util.jar.JarFile
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class JarFile extends ZipFile
The JarFile
class is used to read the contents of a jar file from any file that can be opened with java.io.RandomAccessFile
. It extends the class java.util.zip.ZipFile
with support for reading an optional Manifest
entry. The Manifest
can be used to specify meta-information about the jar file and