|Constructor and Description
Creates a new instance that will read lines from the given
|Modifier and Type
||Method and Description
Reads a line of text.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public String readLine()
Reads a line of text. A line is considered to be terminated by any
one of a line feed (
'\n'), a carriage return
'\r'), or a carriage return followed immediately by a linefeed
String containing the contents of the line, not
including any line-termination characters, or
null if the
end of the stream has been reached.
IOException - if an I/O error occurs
Copyright © 2010-2013. All Rights Reserved.