June 2004
Intermediate to advanced
848 pages
21h 28m
English
There is the usual variety of wrapper classes that can wrap a Reader, shown in the Figure 17-4.
Figure 17-4. Wrapping the Reader classes

The classes that wrap a Reader are:
BufferedReader. This class can provide a performance boost, and also has a readLine() method. The BufferedReader needs to wrap the class that actually accesses the data (e.g., the FileReader or whatever). Other classes may be layered on top of the BufferedReader, too.
FilterReader. You subclass FilterReader, and your overriding methods allow you to see and modify individual characters as they come in—before the rest ...
Read now
Unlock full access