ZipInputStream.read

ZipInputStream.read

Class Overview | Class Members | This Package | All Packages

Syntax
public int read( byte b[], int off, int len ) throws IOException
Parameters
b
the buffer into which the data is read
off
the start offset of the data
len
the maximum number of bytes read
Returns
the actual number of bytes read, or -1 if the end of the entry is reached
Description
Reads from the current ZIP entry into an array of bytes. Blocks until some input is available.

Exceptions
ZipException if a ZIP file error has occurred
Exceptions
IOException if an I/O error has occurred
Overrides
read in class InflaterInputStream