Java java.util.jar JarInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.util.jar JarInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.jar JarInputStream.

The text is from its open source code.

Constructor

JarInputStream(InputStream in)
Creates a new JarInputStream and reads the optional manifest.
JarInputStream(InputStream in, boolean verify)
Creates a new JarInputStream and reads the optional manifest.

Method

intavailable()
Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
voidclose()
Closes this input stream and releases any system resources associated with the stream.
voidcloseEntry()
Closes the current ZIP entry and positions the stream for reading the next entry.
ManifestgetManifest()
Returns the Manifest for this JAR file, or null if none.
ZipEntrygetNextEntry()
Reads the next ZIP file entry and positions the stream at the beginning of the entry data.
JarEntrygetNextJarEntry()
Reads the next JAR file entry and positions the stream at the beginning of the entry data.
intread(byte[] b, int off, int len)
Reads from the current JAR file entry into an array of bytes.
intread(byte b[])
Reads up to b.length bytes of data from this input stream into an array of bytes.
intread()
Reads a byte of uncompressed data.