|
|
JDK 1.1 introduces two new classesCharArrayReaderand
CharArrayWriter, which are similar to
ByteArrayInputStreamandByteArrayOutputStreambut 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
StringReaderinstead of using
StringBufferInputStreamFinaly, JDK 1.1 introduces the new
StringWriterclass for which there is no
InputStreamequivalent.
|
|