How do I convert a String to an InputStream in Java?

Posted by Iain on Stack Overflow See other posts from Stack Overflow or by Iain
Published on 2009-04-23T15:11:23Z Indexed on 2010/03/08 2:12 UTC
Read the original article Hit count: 429

Filed under:
|

Given a string:

String exampleString = "example";

How do I convert this to an InputStream?

© Stack Overflow or respective owner

Related posts about java

Related posts about type-conversion