Java Reference
In-Depth Information
/**
* @return the bad
*/
public List<String> getBad() {
return this.bad;
}
/**
* Called when the spider is starting up. This method
* provides the SpiderReportable class with the spider
* object.
*
* @param spider
* The spider that will be working with this
* object.
*/
public void init(Spider spider) {
this.workloadManager = spider.getWorkloadManager();
}
/**
* @param bad
* the bad to set
*/
public void setBad(List<String> bad) {
this.bad = bad;
}
public boolean spiderFoundURL(URL url, URL source,
SpiderReportable.URLType type) {
if ((this.base != null) &&
(!this.base.equalsIgnoreCase(url.getHost()))) {
return false;
}
return true;
}
Search WWH ::




Custom Search