org.erowid.sperowider.urlfilter
Class BlocksAllFilter

java.lang.Object
  extended byorg.erowid.sperowider.urlfilter.BlocksAllFilter
All Implemented Interfaces:
IDownloadFilter, IIndexFilter, ISpiderFilter

public class BlocksAllFilter
extends Object
implements ISpiderFilter, IDownloadFilter, IIndexFilter

A URL Filter that says "no" to every candidate URL.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/urlfilter/BlocksAllFilter.java,v 1.3 2005/01/16 05:02:52 gurustu Exp $
Author:
: $Author: gurustu $

Constructor Summary
BlocksAllFilter()
           
 
Method Summary
 boolean downloadMatch(String url)
          Returns false
 boolean indexMatch(String url)
          Returns false
 void init(Element configNode)
          Does nothing
 boolean spiderMatch(String sourceUrl, String foundUrl)
          Returns false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlocksAllFilter

public BlocksAllFilter()
Method Detail

downloadMatch

public boolean downloadMatch(String url)
Returns false

Specified by:
downloadMatch in interface IDownloadFilter
See Also:
IDownloadFilter.downloadMatch(java.lang.String)

spiderMatch

public boolean spiderMatch(String sourceUrl,
                           String foundUrl)
Returns false

Specified by:
spiderMatch in interface ISpiderFilter
See Also:
ISpiderFilter.spiderMatch(java.lang.String, java.lang.String)

indexMatch

public boolean indexMatch(String url)
Returns false

Specified by:
indexMatch in interface IIndexFilter
See Also:
IIndexFilter.indexMatch(java.lang.String)

init

public void init(Element configNode)
          throws SperowiderInstantiationException
Does nothing

Throws:
SperowiderInstantiationException
See Also:
IInitializableObject.init(org.jdom.Element)

spero logo small Sperowider is
© 2005 Erowid.org