private void crawl(String urlString, StringBuilder targetBuffer) { try { Uri url = new Uri(urlString); BufferedStream reader = new BufferedReader(new InputStreamReader( url.openStream())); String line; while ((line = reader.readLine()) != null) { targetBuffer.append(line); } reader.EndRead(null); } catch (Exception e) { throw new CannotCrawlException(e); } }