Package | Description |
---|---|
java.io |
Modifier and Type | Class and Description |
---|---|
class |
BufferedReader
Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
|
class |
CharArrayReader
This class implements a character buffer that can be used as a
character-input stream.
|
class |
FileReader
Convenience class for reading character files.
|
class |
FilterReader
Abstract class for reading filtered character streams.
|
class |
InputStreamReader
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified
. |
class |
LineNumberReader
A buffered character-input stream that keeps track of line numbers.
|
class |
PipedReader
Piped character-input streams.
|
class |
PushbackReader
A character-stream reader that allows characters to be pushed back into the
stream.
|
class |
StringReader
A character stream whose source is a string.
|
Modifier and Type | Method and Description |
---|---|
Reader |
Console.reader()
Retrieves the unique
Reader object associated
with this console. |
Constructor and Description |
---|
BufferedReader(Reader in)
Creates a buffering character-input stream that uses a default-sized
input buffer.
|
BufferedReader(Reader in,
int sz)
Creates a buffering character-input stream that uses an input buffer of
the specified size.
|
LineNumberReader(Reader in)
Create a new line-numbering reader, using the default input-buffer
size.
|
LineNumberReader(Reader in,
int sz)
Create a new line-numbering reader, reading characters into a buffer of
the given size.
|
PushbackReader(Reader in)
Creates a new pushback reader with a one-character pushback buffer.
|
PushbackReader(Reader in,
int size)
Creates a new pushback reader with a pushback buffer of the given size.
|
StreamTokenizer(Reader r)
Create a tokenizer that parses the given character stream.
|