title: Java String from InputStream
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/1763789/how-do-i-convert-an-inputstream-to-a-string-in-java">How do I convert an InputStream to a String in Java?</a><br>
    <a href="https://stackoverflow.com/questions/309424/in-java-how-do-a-read-an-input-stream-in-to-a-string">In Java how do a read an input stream in to a string?</a>  </p>
  </blockquote>
  
  
  
  <p>I have an <code>InputSteam</code> and need to simply get a single simple <code>String</code> with the complete contents. </p>
  
  <p>How is this done in Java?</p>