public abstract class TextReader extends Reader
Constructor and Description |
---|
TextReader() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases all resources used by
TextReader object. |
boolean |
markSupported() |
abstract String |
readLine()
Reads a line of characters from the text reader and returns the data as a string.
|
abstract String |
readToEnd()
Reads all characters from the current position to the end of the text reader and returns them as one string.
|
public boolean markSupported()
markSupported
in class Reader
public abstract String readLine()
null
if all characters have been read.public abstract String readToEnd()
public void dispose()
TextReader
object.