title: Get web page content to String is very slow
body: <p>I did the download a web page with the HttpURLConnection.getInputStream() and to get the content to a String, i do the following method:</p>
  
  <pre><code>String content="";
  isr = new InputStreamReader(pageContent);
  br = new BufferedReader(isr);
  try {
      do {
              line = br.readLine();
              content += line;
          } while (line != null);
          return content;
      } catch (Exception e) {
          System.out.println("Error: " + e);
          return null;
      }
  </code></pre>
  
  <p>The download of the page is fast, but the processing to get the content to String is very slow. There is another way faster to get the content to a String?</p>
  
  <p>I transform it to String to insert in the database.</p>