Type mismatch: cannot convert from StringBuilder to String
<p>This method returns the source of the given URL.    </p>

<pre><code>       private static String getUrlSource(String url) {
     try {
         URL localUrl = null;
         localUrl = new URL(url);
         URLConnection conn = localUrl.openConnection();
         BufferedReader reader = new BufferedReader(
                 new InputStreamReader(conn.getInputStream()));
         String line = "";
         String html;
         StringBuilder ma = new StringBuilder();
         while ((line = reader.readLine()) != null) {
           ma.append(line);
         }
         return ma;

     } catch (Exception e) {

         Log.e("ERR",e.getMessage());
     }


 }
</code></pre>

<p>It gives me this error:</p>

<pre><code>    Type mismatch: cannot convert from StringBuilder to String
</code></pre>

<p>And two choices:</p>

<ol>
<li>Change the return type to StringBuilder;
-But I want it to return a String.
<br/>
2.- Change type of ma to String.
-After changing a String has no append() method.</li>
</ol>
