Reader.ready

Reader.ready

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean ready() throws IOException
Returns
True if the next read() is guaranteed not to block for input, false otherwise. Note that returning false does not guarantee that the next read will block.
Description
Tell whether this stream is ready to be read.

Exceptions
IOException If an I/O error occurs