org.jboss.gravel.data.filter
Class RangeListFilter

java.lang.Object
  extended by org.jboss.gravel.data.filter.RangeListFilter
All Implemented Interfaces:
Filter

public final class RangeListFilter
extends Object
implements Filter

A filter that filters based on a comma-separated list of numbers and numeric ranges.


Constructor Summary
RangeListFilter(String filterString)
           
 
Method Summary
 boolean testEntry(Object object)
          Test to see if an item passes the filter.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeListFilter

public RangeListFilter(String filterString)
Method Detail

testEntry

public boolean testEntry(Object object)
Description copied from interface: Filter
Test to see if an item passes the filter.

Specified by:
testEntry in interface Filter
Parameters:
object - the item to test
Returns:
true if the item passes the filter criteria

toString

public String toString()
Overrides:
toString in class Object