Readers

We classify readers by:
  1. the source passed to their constructor
  2. the special methods they add
The abstract superclass of all readers is:
Reader
+ read() : int
+ close()
Subclasses of Reader include:
InputStreamReader
+ ctor( InputStream )
+ ctor( InputStream, String encoding )
FileReader
+ ctor( File )
+ ctor( String )
StringReader
+ ctor( String )
CharArrayReader
+ ctor( char[] )
Filter readers take other readers as their source:
BufferedReader
+ ctor(Reader)
+ readLine() : String
LineNumberReader
+ ctor(Reader)
+ getLineNumber() : int
+ setLineNumber(int)
PipedReader
+ ctor(PipedWriter)
+ connect(PipedWriter)
FilterReader
# in : Reader
# ctor(Reader)
Subclasses of FilterReader include:
PushbackReader
+ ctor(Reader)
+ unread(int)