Writers and Readers Classes Flashcards
A character stream that operates on strings.
StringReader
This class is a bridge between character streams and byte streams.
InputStreamReader and OutputStreamWriter
Derived class of OutputStreamWriter that provides support for reading character files.
FileReader
For “piped” reading of characters.
PipedReader
Abstract base class for streams that support a filtering operation applied on data as characters that are read from the stream.
FilterReader
Derived class of FilterReader that allows read characters to be pushed back into the stream.
PushbackReader
Adds buffering to the underlying character stream so that there is no need to access the underlying file system for each read and write operation.
BufferedReader
Derived class of BufferedReader that keeps track of line numbers as the characters are read from the character stream.
LineNumberReader
A character stream that collects the output in a string buffer, which can be used for creating a string.
StringWriter
Derived class of InputStreamReader that provides support for writing character files.
FileWriter
For “piped” writing of characters
PipedWriter
Abstact base class for streams that supports a filtering operation applied on data such as characters when writing them to the character stream.
FilterWriter
Supports formatted printing of characters to the output character stream.
PrintWriter
Adds buffering to the underlying character stream so that there is no need to access the underlying file system for each read and write operation.
BufferedWriter.