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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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
length of decompressed data and stores it in
buffer starting at offset . |
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
|
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. |
---|
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 length
of decompressed data and stores it in
buffer
starting at offset
.
buffer | Buffer to store into |
---|---|
offset | offset in buffer to store at |
length | number of bytes to store |
IOException | if an IOException occurs. |
---|
creates a ZipEntry
with the given name.
name | the name of the entry. |
---|
ZipEntry
.