public static String toString(final URL url) throws IOException {
  return IOUtils.toString(url,Charset.defaultCharset());
}

public static String toString ( final URL url ) throws IOException { return IOUtils . toString ( url , Charset . defaultCharset ( ) ) ; }
gets the contents at the given url .
