[fedora-java] No StringBufferOutputStream???

Tom Tromey tromey at redhat.com
Thu Apr 26 23:02:52 UTC 2007


>>>>> "Jim" == Jim C <jlistnews at gmail.com> writes:

Jim> So if there is a StringBufferInputStream, you would think that there
Jim> would be a StringBufferOutputStream.

Jim> Any ideas as to why there isn't??

StringBufferInputStream is part of the old, deprecated 1.0 I/O framework, 
which was lax about differentiating between bytes and chars.

You want StringReader and StringWriter instead, or perhaps
CharArrayWriter.  I don't know why there are two of these -- weird.

Tom




More information about the fedora-devel-java-list mailing list