SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.crawler.web.filter.impl
Class BeginningPathFilter

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter<Outlink>
      extended by org.eclipse.smila.connectivity.framework.crawler.web.filter.UrlFilter
          extended by org.eclipse.smila.connectivity.framework.crawler.web.filter.impl.BeginningPathFilter
All Implemented Interfaces:
IFilter<Outlink>

public class BeginningPathFilter
extends UrlFilter

Implementation of beginning path URL filter that checks if the link starts with the given path.


Field Summary
 
Fields inherited from class org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter
_workType
 
Constructor Summary
BeginningPathFilter()
          Default empty constructor.
 
Method Summary
 boolean matches(Outlink test)
          Returns true if the value of the parameter satisfies the filter and false otherwise.
 
Methods inherited from class org.eclipse.smila.connectivity.framework.crawler.web.filter.UrlFilter
getRefinements, getValue, isEnabled, setRefinements, setValue
 
Methods inherited from class org.eclipse.smila.connectivity.framework.crawler.web.filter.WorkTypeFilter
getWorkType, setWorkType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeginningPathFilter

public BeginningPathFilter()
Default empty constructor.

Method Detail

matches

public boolean matches(Outlink test)
Returns true if the value of the parameter satisfies the filter and false otherwise.

Parameters:
test - value that will be checked against the filter.
Returns:
filter result

SMILA (incubation) API documentation