Java Reference
In-Depth Information
// add the item
if (this.workloadManager.add(url, source, depth))
{
StringBuilder str = new StringBuilder();
str.append("Adding to workload: ");
str.append(url);
str.append("(depth=");
str.append(depth);
str.append(")");
logger.fine(str.toString());
}
}
/**
* Set a flag that will cause the begin method to return
* before it is done.
*/
public void cancel()
{
this.cancel = true;
}
/**
* Get the list of filters for the spider.
*
* @return The list of filters for the spider.
*/
public List<SpiderFilter> getFilters()
{
return this.filters;
}
/**
* Get the options for this spider.
*
* @return The options for this spider.
*/
public SpiderOptions getOptions()
{
return this.options;
}
Search WWH ::




Custom Search