org.supermind.crawl.scope
Class SameParentHostFLFilter

java.lang.Object
  extended by org.supermind.crawl.scope.SameParentHostFLFilter
All Implemented Interfaces:
ScopeFilter<FetchListScope.Input>
Direct Known Subclasses:
ParentPrefixPathFLFilter

public class SameParentHostFLFilter
extends java.lang.Object
implements ScopeFilter<FetchListScope.Input>

Allows a URL if it has the same host as its parent (originating page).


Field Summary
 
Fields inherited from interface org.supermind.crawl.scope.ScopeFilter
ABSTAIN, ALLOW, REJECT
 
Constructor Summary
SameParentHostFLFilter()
           
 
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

SameParentHostFLFilter

public SameParentHostFLFilter()
Method Detail

filter

public int filter(FetchListScope.Input input)
Description copied from interface: ScopeFilter
Filter the input. Possible return values are ScopeFilter.ALLOW, ScopeFilter.REJECT and ScopeFilter.ABSTAIN.

Specified by:
filter in interface ScopeFilter<FetchListScope.Input>
Returns: