title: Adding "Http://" before my address
body: <p>i'm extracting address from a source but some extract doesnt have http:// infront of the address, how do i check if the address has http:// and if they dont how do i add the http:// infront? :O </p>
  
  <p>Getting this error which i guess is due to the "lack" of http:// infront</p>
  
  <pre><code>java.net.MalformedURLException: no protocol: www.speedtest.net
  at java.net.URL.&lt;init&gt;(URL.java:583)
  at java.net.URL.&lt;init&gt;(URL.java:480)
  at java.net.URL.&lt;init&gt;(URL.java:429)
  at a.PageRead.r(PageRead.java:29)
  at a.ThreadDownloaderWriter.run(ThreadDownloaderWriter.java:35)
  at java.lang.Thread.run(Thread.java:722)
  
  
  
  
  
  
   public StringBuilder readPage() {
          try {
  
              URL url = new URL(this.strURL);
              System.out.println(this.strURL);
              BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));
              String line;
              StringBuilder sb = new StringBuilder();
              while ((line = reader.readLine()) != null) {
                  sb.append(line + "\n");
              }
              reader.close();
  
              return sb;
          } catch (MalformedURLException e) {
              e.printStackTrace();
              return new StringBuilder("");
          } catch (IOException e) {
              e.printStackTrace();
              return new StringBuilder("");
          }
      }
  </code></pre>