This content has been marked as final. Show 4 replies
a) this was not your original question
So why does it say like this in the api for
Hello, i d like to know how to create anInputStream
from a String via StringReader ?You can't.
b) "Deprecated. This class does not properly convert characters into bytes. As of JDK 1.1, the preferred way to create a stream from a string is via the StringReader class. "
So you can use that class but it will be wrong. You should not use streams for characters. You should use Readers and Writers.