code: public static String read(URL url, String encoding) throws IOException {
          Reader reader = getReader(url, encoding);
          String source;
          try {
              source = read(reader);
          } finally {
              reader.close();
          }
          return source;
      }
docs: Returns a string from the specified url.
  
  @param url the url
  @param encoding the encoding
  @return the string
  @throws IOException if an error occurred when reading resources using any I/O operations