So if there is a StringBufferInputStream, you would think that there would be a StringBufferOutputStream.
Any ideas as to why there isn't??
Jim C.
"Jim" == Jim C jlistnews@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
java-devel@lists.fedoraproject.org