Exemple #1
0
 public static String toString(final Reader reader) throws IOException {
   return IOUtils.toString(reader, Charset.defaultCharset());
 }
Exemple #2
0
 public static String toString(final InputStream inputStream) throws IOException {
   return IOUtils.toString(inputStream, Charset.defaultCharset());
 }