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