public boolean ready() throws IOException {
  return sd.ready();
}

public boolean ready ( ) throws IOException { return sd . ready ( ) ; }
tells whether this stream is ready to be read . an inputstreamreader is ready if its input buffer is not empty , or if bytes are available to be read from the underlying byte stream .
