| java.lang.Object | |||||
| ↳ | java.io.InputStream | ||||
| ↳ | java.io.FilterInputStream | ||||
| ↳ | java.util.zip.InflaterInputStream | ||||
| ↳ | java.util.zip.ZipInputStream | ||||
| ↳ | java.util.jar.JarInputStream | ||||
The input stream from which the JAR file to be read may be fetched. It is
used like the ZipInputStream.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipInputStream
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.InflaterInputStream
| |||||||||||
From class
java.io.FilterInputStream
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
JarInputStream from an input stream. | |||||||||||
Constructs a new
JarInputStream from an input stream. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Closes the current zip entry and prepares to read the next entry.
| |||||||||||
Returns the
Manifest object associated with this JarInputStream or null if no manifest entry exists. | |||||||||||
Returns the next
ZipEntry contained in this stream or null if no more entries are present. | |||||||||||
Returns the next
JarEntry contained in this stream or null if no more entries are present. | |||||||||||
Reads up to
byteCount bytes of decompressed data and stores it in
buffer starting a
t byteOffset. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
creates a
ZipEntry with the given name. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipInputStream
| |||||||||||
From class
java.util.zip.InflaterInputStream
| |||||||||||
From class
java.io.FilterInputStream
| |||||||||||
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.lang.AutoCloseable
| |||||||||||
Constructs a new JarInputStream from an input stream.
| stream | the input stream containing the JAR file. |
|---|---|
| verify | if the file should be verified with a JarVerifier. |
| IOException | If an error occurs reading entries from the input stream. |
|---|
Constructs a new JarInputStream from an input stream.
| stream | the input stream containing the JAR file. |
|---|
| IOException | If an error occurs reading entries from the input stream. |
|---|
Closes the current zip entry and prepares to read the next entry.
| IOException |
|---|
Returns the Manifest object associated with this JarInputStream or null if no manifest entry exists.
Returns the next ZipEntry contained in this stream or null if no more entries are present.
| IOException | if an error occurs while reading the entry. |
|---|
Returns the next JarEntry contained in this stream or null if no more entries are present.
| IOException | if an error occurs while reading the entry. |
|---|
Reads up to byteCount bytes of decompressed data and stores it in
buffer starting at byteOffset. Returns the number of uncompressed bytes read.
| IOException | if an IOException occurs. |
|---|
creates a ZipEntry with the given name.
| name | the name of the entry. |
|---|
ZipEntry.