|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CrawlerFilter
Interface for all algorithms implementing decisions on whether or not a given site or site - parameter combination should be scheduled for retrieval. Implements the Strategy pattern for Crawler objects.
CrawlerFilter| Method Summary | |
|---|---|
boolean |
check(java.lang.String site)
Should the URL this string represents be retrieved |
boolean |
check(java.lang.String site,
Properties parameters)
Should the URL this string represents be retrieved, given the parameters provided |
void |
load(java.lang.String site)
Submit the given site to the filter chain without retrieving it. |
void |
load(java.lang.String site,
Properties parameters)
Submit the given site - parameter combination to the filter chain without retrieving it. |
CrawlerFilter |
prototype()
Creates a new default version of this class with no common data excepting static variables |
| Method Detail |
|---|
boolean check(java.lang.String site)
site - URL of the site to be retrieved
boolean check(java.lang.String site,
Properties parameters)
site - URL to be retrievedparameters - parameters governing the retrieval
void load(java.lang.String site)
site - URL to be added
void load(java.lang.String site,
Properties parameters)
site - URL to be addedCrawlerFilter prototype()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||