Package crawlercommons.sitemaps

Examples of crawlercommons.sitemaps.SiteMapURL


        // push all url with depth = 1
        level = 1;
        Collection<SiteMapURL> u = ((SiteMap)asm).getSiteMapUrls();
        Iterator<SiteMapURL> i = u.iterator()
        while(i.hasNext()) {
          SiteMapURL s = (SiteMapURL) i.next();
          URL url = s.getUrl();         
          if (!src.isFirstCrawlCompleted() || src.isReset() || s.getLastModified() == null || src.getCrawlLastTimeStart().before(s.getLastModified())) {
            links.add(url.toExternalForm())
          }         
        }
      }
      for (String strLink : links) {
View Full Code Here

TOP

Related Classes of crawlercommons.sitemaps.SiteMapURL

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.