title: Read url to string in few lines of java code
body: <p>I'm trying to find Java's equivalent to Groovy's:</p>
  
  <pre><code>String content = "http://www.google.com".toURL().getText();
  </code></pre>
  
  <p>I want to read content from a URL into string.  I don't want to pollute my code with buffered streams and loops for such a simple task.  I looked into apache's HttpClient but I also don't see a one or two line implementation.</p>