Module java.base
Package java.util.jar

Class JarInputStream

  • All Implemented Interfaces:
    Closeable,AutoCloseable

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