Java java.util.zip ZipInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.util.zip ZipInputStream fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Subclass

java.util.zip.ZipInputStream has subclasses.
Click this link to see all its subclasses.

Constructor

ZipInputStream(InputStream in)
Creates a new ZIP input stream.
ZipInputStream(InputStream in, Charset charset)
Creates a new ZIP input stream.

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.
ClassgetClass()
Returns the runtime class of this Object .
ZipEntrygetNextEntry()
Reads the next ZIP file entry and positions the stream at the beginning of the entry data.
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.
intread(byte[] b, int off, int len)
Reads from the current ZIP entry into an array of bytes.
longskip(long n)
Skips specified number of bytes in the current ZIP entry.