title: Reading entire html file to String?
body: <p>Are there better ways to read an entire html file to a single string variable than:</p>
  
  <pre><code>    String content = "";
      try {
          BufferedReader in = new BufferedReader(new FileReader("mypage.html"));
          String str;
          while ((str = in.readLine()) != null) {
              content +=str;
          }
          in.close();
      } catch (IOException e) {
      }
  </code></pre>