Mega Code Archive

 
Categories / Java Book / 004 File Stream
 

0248 Reader

Reader is the abstract class for reading character streams. The following table lists the reader and writer classes which deal with the character based stream. BufferedReader Buffered input character stream BufferedWriter Buffered output character stream CharArrayReader Input stream that reads from a character array CharArrayWriter Output stream that writes to a character array FileReader Input stream that reads from a file FileWriter Output stream that writes to a file FilterReader Filtered reader FilterWriter Filtered writer InputStreamReader Input stream that translates bytes to characters LineNumberReader Input stream that counts lines OutputStreamWriter Output stream that translates characters to bytes PipedReader Input pipe PipedWriter Output pipe PrintWriter Output stream that contains print( ) and println( ) PushbackReader Input stream that allows characters to be returned to the input stream Reader Abstract class that describes character stream input StringReader Input stream that reads from a string StringWriter Output stream that writes to a string Writer Abstract class that describes character stream output