A
Ahmed Moustafa
Hi All,
Is there a way to convert String to InputStream?
Thanks in advance,
Is there a way to convert String to InputStream?
Thanks in advance,
Ahmed Moustafa said:Is there a way to convert String to InputStream?
Thanks in advance,
Ahmed said:Is there a way to convert String to InputStream?
Chris said:You have to choose an appropriate encoding, though. Unfortunately, this
requires that you do the whole encoding of the text at once. It
shouldn't be difficult to write an InputStream that provides the
encoding on smaller chunks iteratively, if you expect to be working with
very large Strings. If you need help doing so, let me know.
By reading the API documentation you could have found:
(a) The deprecated StringBufferInputStream.
Is there a way to convert String to InputStream?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.