public static String getText ( Reader reader ) throws IOException { BufferedReader bufferedReader = new BufferedReader ( reader ) ; return getText ( bufferedReader ) ; }
Read the content of the Reader and return it as a String . The reader is closed before this method returns .