Package pagelyzer

Examples of pagelyzer.Capture


          String[] pagelyzerargs = {"-config",args[1],"-url1","http://www.lip6.fr" ,"-url2","http://www.lip6.fr"};

         

          JPagelyzer pagelyzer = new JPagelyzer(pagelyzerargs,false);
          Capture capture1;
          Capture capture2;
          StringBuffer sb = new StringBuffer();
        
          double score = 0;
          for(int i=0;i<lines.size();i++)
          {
              System.out.println("TEST " + i);
              temp = (String) lines.get(i);
              urls = temp.split("\t");
             
              capture1 = pagelyzer.GetCapture(urls[0], pagelyzer.browser1);
              capture2 = pagelyzer.GetCapture(urls[1], pagelyzer.browser2);

              if(capture1!=null && capture2!=null)
                score = pagelyzer.CallMarcalizerResult(capture1, capture2);
              try {
          capture1.cleanup();
          capture2.cleanup();
        } catch (InterruptedException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        }
             
View Full Code Here

TOP

Related Classes of pagelyzer.Capture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.