Package java.io
Class CharArrayReader

Public Method ready

boolean ready()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method checks whether this stream is ready to be read or not.

Example

   char[] ch = {'H','e','l','l','o'};
   CharArrayReader car = new CharArrayReader(ch);
   if (car.ready())
      Logger.log("The stream is ready to be read!");

The ready method checks if the stream can be read.