Previous


1.1 Changes: New Classes

The java.io package has been extended with character streams, Reader(in the API reference documentation) and Writer(in the API reference documentation) 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 and Writer classes. See the corresponding JDK 1.1 note and changes file for each example.


Previous