IOUtils.toString

Read input stream to string.

@param input the stream to read from (until EOF) @return the string parsed from stream (default Charset) @throws IOException if unable to read the stream (or handle the charset)

  1. string toString(InputStream input)
    class IOUtils
    static
    string
    toString
  2. string toString(InputStream input, string encoding)

Meta