org.erowid.sperowider.urlfilter
Class SimpleFilter

java.lang.Object
  extended byorg.erowid.sperowider.urlfilter.AIncludeExcludeFilter
      extended byorg.erowid.sperowider.urlfilter.SimpleFilter

public class SimpleFilter
extends AIncludeExcludeFilter

An implementation of AIncludeExcludeFilter that uses the filter rules from SimpleMatcher.

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

Constructor Summary
SimpleFilter()
           
 
Method Summary
protected  boolean matchAny(List patternList, String name)
          Returns true if any of the pattern in the passed in list match the passed in url
 
Methods inherited from class org.erowid.sperowider.urlfilter.AIncludeExcludeFilter
addExclude, addInclude, getExcludes, getIncludes, init, matchExcludes, matchIncludes, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleFilter

public SimpleFilter()
Method Detail

matchAny

protected boolean matchAny(List patternList,
                           String name)
Returns true if any of the pattern in the passed in list match the passed in url

Specified by:
matchAny in class AIncludeExcludeFilter

spero logo small Sperowider is
© 2005 Erowid.org