I want from a "String location" take the URL obj, so run "String str = location.getContent();", and after SEARCH for a any string like words or sentence or urls, for how many times appeared on page[URL obj], can you help?
Java Code:
   private void getThePage( String location )
   {
      try // load document and display location 
      {
         contentsArea.setPage( location ); // set the page
         enterField.setText( location ); // set the text
   
   String str = location.getContent();
   index = str.indexOf("http://www.l-web-dev.net");
   
   while (index !=0) {
   index = str.indexOf("http://www.l-web-dev.net", index) ;
   j++;
   
   }