com.northconcepts.datapipeline.filter.rule
Class PatternMatch

java.lang.Object
  extended by com.northconcepts.datapipeline.filter.FieldFilterRule
      extended by com.northconcepts.datapipeline.filter.rule.PatternMatch

public class PatternMatch
extends FieldFilterRule


Constructor Summary
PatternMatch()
           
PatternMatch(String... regex)
           
PatternMatch(String regex, int flags)
           
 
Method Summary
 PatternMatch add(String... regex)
           
 PatternMatch add(String regex, int flags)
           
 boolean allow(Field field)
           
 Pattern get(int index)
           
 int getCount()
           
 String toString()
           
 
Methods inherited from class com.northconcepts.datapipeline.filter.FieldFilterRule
getFieldFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternMatch

public PatternMatch()

PatternMatch

public PatternMatch(String... regex)

PatternMatch

public PatternMatch(String regex,
                    int flags)
Method Detail

add

public PatternMatch add(String... regex)

add

public PatternMatch add(String regex,
                        int flags)

getCount

public int getCount()

get

public Pattern get(int index)

allow

public boolean allow(Field field)
Specified by:
allow in class FieldFilterRule

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.