org.erowid.sperowider.urlfilter
Class ADumbIndexFilter

java.lang.Object
  extended byorg.erowid.sperowider.urlfilter.ADumbIndexFilter
All Implemented Interfaces:
IIndexFilter
Direct Known Subclasses:
NoHopRegexSperowiderFilter, NoHopSimpleSperowiderFilter, OneHopRegexSperowiderFilter, OneHopSimpleSperowiderFilter

public class ADumbIndexFilter
extends Object
implements IIndexFilter

A temporary way of implementing index filtering for Sperowider. Rejects everything but HTML.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/urlfilter/ADumbIndexFilter.java,v 1.2 2005/01/16 06:47:26 gurustu Exp $
Author:
: $Author: gurustu $

Constructor Summary
ADumbIndexFilter()
           
 
Method Summary
 boolean indexMatch(String fileOrUrl)
          Returns true if the file ends in html.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADumbIndexFilter

public ADumbIndexFilter()
Method Detail

indexMatch

public boolean indexMatch(String fileOrUrl)
Returns true if the file ends in html.

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

spero logo small Sperowider is
© 2005 Erowid.org