![]() |
Thejava.io
package has been extended with character streams,Reader
and
Writer
and their subclasses, which are like byte streams except that they read and write 16-bit Unicode characters rather than 8-bit bytes. Generally speaking, it is best to use the new character-stream classes. Each of the examples highlighted in the Using Input and Output Streams section have been rewritten to use the new
Reader
andWriter
classes. See the corresponding JDK 1.1 note and changes file for each example.
![]() |