Java Reference
In-Depth Information
Figure 20-2. Type Tree for Character Streams in
java.io
As with the byte streams, character streams should be explicitly closed
to release resources associated with the stream. Character stream syn-
chronization policies are discussed in
Section 20.5.1
on page
515
.
20.3.1.
Reader
The abstract class
Reader
provides a character stream analogous to the
byte stream
InputStream
and the methods of
Reader
essentially mirror
those of
InputStream
: