Module java.base
Package java.util.jar

Class JarInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class JarInputStream
extends ZipInputStream
The JarInputStream class is used to read the contents of a JAR file from any input stream. It extends the class java.util.zip.ZipInputStream with support for reading an optional Manifest entry. The Manifest can be used to store meta-information about the JAR file and its entries.
Since:
1.2
See Also:
Manifest, ZipInputStream