Previous


1.1 Changes: Memory I/O

JDK 1.1 introduces two new classes CharArrayReader(in the API reference documentation) and CharArrayWriter(in the API reference documentation), which are similar to ByteArrayInputStream and ByteArrayOutputStream but work with characters instead of bytes. Generally speaking, it is best to use the new character-stream classes.

Also, most JDK 1.1 programmers should probably use StringReader(in the API reference documentation) instead of using StringBufferInputStream

Finaly, JDK 1.1 introduces the new StringWriter(in the API reference documentation) class for which there is no InputStream equivalent.


Previous