public class DefaultWebCrawler
extends edu.uci.ics.crawler4j.crawler.WebCrawler
WebCrawler
implementation.Constructor and Description |
---|
DefaultWebCrawler() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldVisit(edu.uci.ics.crawler4j.url.WebURL url)
Override this method to specify whether the given URL should be visited or not.
|
void |
visit(edu.uci.ics.crawler4j.crawler.Page page)
Override this method to implement the single page processing logic.
|
public boolean shouldVisit(edu.uci.ics.crawler4j.url.WebURL url)
shouldVisit
in class edu.uci.ics.crawler4j.crawler.WebCrawler
public void visit(edu.uci.ics.crawler4j.crawler.Page page)
visit
in class edu.uci.ics.crawler4j.crawler.WebCrawler
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.