How can I read a String into an inputStream in Java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/782178/how-do-i-convert-a-string-to-an-inputstream-in-java">How do I convert a String to an InputStream in Java?</a>  </p>
</blockquote>



<p>How can I read a String into an InputStream in Java ? </p>

<p>I want to be able to convert <code>String say = "say"</code> into an InputStream/InputSource. How do I do that?</p>
