Package org.vietspider.document.util

Examples of org.vietspider.document.util.OtherLinkRemover2


  }
 
  private ContentRenderer createContentRenderer(HTMLNode body) {
    List<HTMLNode> contents = searchNodes(body, Name.A);
   
    OtherLinkRemover2 linkRemover = new OtherLinkRemover2();
    List<HTMLNode> nodes = linkRemover.removeLinks(body, null);
    for(int i = 0; i < nodes.size(); i++) {
      contents.remove(nodes.get(i));
    }
    return ContentRendererFactory.createContentRenderer(body, null);
  }
View Full Code Here

TOP

Related Classes of org.vietspider.document.util.OtherLinkRemover2

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.