|
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.CrawlScopeFilter
public class CrawlScopeFilter
Implemenation of the filter that allows to add or exclude some urls from crawlscope.
| Constructor Summary | |
|---|---|
CrawlScopeFilter()
Empty constructor. |
|
| Method Summary | |
|---|---|
CrawlScope |
getCrawlScope()
Returns crawl scope type. |
WorkTypeFiltersCollection |
getUrlFilters()
Returns the collection of the URL filters from CrawlScope element. |
boolean |
matches(Outlink link)
Returns true if the value of the parameter satisfies the filter and false otherwise. |
void |
setCrawlScope(CrawlScope scope)
Assigns crawl scope type. |
void |
setSeeds(java.util.Set<Outlink> seeds)
Assigns website seeds for initial filter configuration. |
void |
setUrlFilters(WorkTypeFiltersCollection filters)
Assigns the collection of the URL filters from CrawlScope element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CrawlScopeFilter()
| Method Detail |
|---|
public void setSeeds(java.util.Set<Outlink> seeds)
seeds - Seed outlinkspublic boolean matches(Outlink link)
matches in interface IFilter<Outlink>link - value that will be checked against the filter.
public CrawlScope getCrawlScope()
public void setCrawlScope(CrawlScope scope)
scope - CrawlScopepublic WorkTypeFiltersCollection getUrlFilters()
public void setUrlFilters(WorkTypeFiltersCollection filters)
filters - WorkTypeFiltersCollection
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||