code: public static String getText(Reader reader) throws IOException {
          BufferedReader bufferedReader = new BufferedReader(reader);
          return getText(bufferedReader);
      }
docs: Read the content of the Reader and return it as a String.  The reader
  is closed before this method returns.
  
  @param reader a Reader whose content we want to read
  @return a String containing the content of the buffered reader
  @throws IOException if an IOException occurs.
  @see #getText(java.io.BufferedReader)
  @since 1.0