Java Tutorial - Java Script : Character Streams

Java Tutorial - Java Script :

Character Streams

After you know how to handle byte streams, you have most of the skills needed to handle character streams as well. Character streams are used to work with any text represented by the ASCII character set or Unicode, an international character set that includes ASCII.
Examples of files that you can work with through a character stream are plain text files, Hypertext Markup Language (HTML) documents, and Java source files. The classes used to read and write these streams are all subclasses of Reader and Writer. These should be used for all text input instead of dealing directly with byte streams.