InputStream.available

InputStream.available

Class Overview | Class Members | This Package | All Packages

Syntax
public int available() throws IOException
Returns
the number of bytes that can be read from this input stream without blocking.
Description
Returns the number of bytes that can be read from this input stream without blocking. The available method of InputStream returns 0. This method should be overridden by subclasses.

Exceptions
IOException if an I/O error occurs.