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.
Creates a new JarInputStream and reads the optional
manifest. If a manifest is present, also attempts to verify
the signatures if the JarInputStream is signed.
Creates a new JarInputStream and reads the optional
manifest. If a manifest is present and verify is true, also attempts
to verify the signatures if the JarInputStream is signed.
Parameters:
in - the actual input stream
verify - whether or not to verify the JarInputStream if
it is signed.
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.