java.lang.Object org.supermind.crawl.scope.SameParentTLDFLFilter
public class SameParentTLDFLFilter
Allows a URL if it has the same TLD (top-level domain) as its parent (originating page).
Field Summary |
---|
Fields inherited from interface org.supermind.crawl.scope.ScopeFilter |
---|
ABSTAIN, ALLOW, REJECT |
Constructor Summary | |
---|---|
SameParentTLDFLFilter()
|
Method Summary | |
---|---|
int |
filter(FetchListScope.Input input)
Filter the input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SameParentTLDFLFilter()
Method Detail |
---|
public int filter(FetchListScope.Input input)
ScopeFilter
ScopeFilter.ALLOW
, ScopeFilter.REJECT
and ScopeFilter.ABSTAIN
.
filter
in interface ScopeFilter<FetchListScope.Input>