org.supermind.crawl.scope
Class SameParentPathFLFilter

java.lang.Object
  extended by org.supermind.crawl.scope.SameParentPathFLFilter
All Implemented Interfaces:
ScopeFilter<FetchListScope.Input>

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

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


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

SameParentPathFLFilter

public SameParentPathFLFilter()
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: