|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.crawler.web.filter.impl.FilterProcessorImpl
public class FilterProcessorImpl
Implementation of the FilterProcessor.
| Constructor Summary | |
|---|---|
FilterProcessorImpl(Configuration conf)
Create new object with the given crawler configuration. |
|
| Method Summary | |
|---|---|
boolean |
evaluateContentTypeFilters(java.lang.String contentType)
Checks if the given content-type string satisfies content-type filters. |
CrawlMode |
evaluateFilters(WorkTypeFiltersCollection filters,
java.lang.Object test)
|
CrawlMode |
evaluateHtmlMetaTagFilters(HTMLMetaTags htmlMetaTags)
Checks if the given set of html metatags satisfies meta tag filters. |
CrawlMode |
evaluateUrlFilters(Outlink link)
Checks if the link satisfies crawler url filters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterProcessorImpl(Configuration conf)
conf - Configuration| Method Detail |
|---|
public CrawlMode evaluateUrlFilters(Outlink link)
evaluateUrlFilters in interface FilterProcessorlink - Outlink to be tested
CrawlMode valuespublic CrawlMode evaluateHtmlMetaTagFilters(HTMLMetaTags htmlMetaTags)
evaluateHtmlMetaTagFilters in interface FilterProcessorhtmlMetaTags - set of meta tags
CrawlMode values
public CrawlMode evaluateFilters(WorkTypeFiltersCollection filters,
java.lang.Object test)
public boolean evaluateContentTypeFilters(java.lang.String contentType)
evaluateContentTypeFilters in interface FilterProcessorcontentType - content-type string
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||