Package org.eweb4j.spiderman.infra

Examples of org.eweb4j.spiderman.infra.IframeLinkFinder


  public static Collection<String> findAllUrls(String html, String hostUrl){
    Collection<String> urls = new HashSet<String>();
    try {
      urls.addAll(Util.findAllLinkHref(html, hostUrl));
      urls.addAll(new DefaultLinkFinder(html).getLinks());
      urls.addAll(new IframeLinkFinder(html).getLinks());
      urls.addAll(new FrameLinkFinder(html).getLinks());
    }catch (Exception e){
      e.printStackTrace();
    }
    return urls;
View Full Code Here

TOP

Related Classes of org.eweb4j.spiderman.infra.IframeLinkFinder

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.