com.croftsoft.apps.spider
Class SpiderUrlFilter

java.lang.Object
  extended by com.croftsoft.apps.spider.SpiderUrlFilter
All Implemented Interfaces:
Filter

public class SpiderUrlFilter
extends Object
implements Filter

Web spider URL filter.

Since:
2003-04-09
Version:
2003-04-09
Author:
David Wallace Croft

Field Summary
protected  boolean sameHostOnly
           
protected  boolean samePortOnly
           
protected  Spider spider
           
 
Constructor Summary
SpiderUrlFilter(Spider spider)
           
 
Method Summary
 boolean isFiltrate(Object o)
          Filtrate is what passes through a filter.
 void setSameHostOnly(boolean sameHostOnly)
           
 void setSamePortOnly(boolean samePortOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spider

protected final Spider spider

sameHostOnly

protected boolean sameHostOnly

samePortOnly

protected boolean samePortOnly
Constructor Detail

SpiderUrlFilter

public SpiderUrlFilter(Spider spider)
Method Detail

setSameHostOnly

public void setSameHostOnly(boolean sameHostOnly)

setSamePortOnly

public void setSamePortOnly(boolean samePortOnly)

isFiltrate

public boolean isFiltrate(Object o)
Description copied from interface: com.croftsoft.core.role.Filter
Filtrate is what passes through a filter.

Specified by:
isFiltrate in interface Filter
Returns:
Returns false if the object should be filtered.

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)