org.shiftone.jrat.util.regex
Class CompositeMatcher

java.lang.Object
  extended by org.shiftone.jrat.util.regex.CompositeMatcher
All Implemented Interfaces:
Matcher

public class CompositeMatcher
extends java.lang.Object
implements Matcher

OR

Author:
jeff@shiftone.org (Jeff Drost)

Field Summary
 
Fields inherited from interface org.shiftone.jrat.util.regex.Matcher
ALL, NONE
 
Constructor Summary
CompositeMatcher(java.util.Collection matchers)
           
CompositeMatcher(Matcher[] matchers)
           
 
Method Summary
static Matcher buildCompositeGlobMatcher(java.lang.String pattenString)
           
static Matcher buildCompositeGlobMatcher(java.lang.String[] pattenStrings)
           
static Matcher buildCompositeGlobMatcher(java.lang.String pattenString, boolean ignoreCase)
           
 boolean isMatch(java.lang.String inputString)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeMatcher

public CompositeMatcher(Matcher[] matchers)

CompositeMatcher

public CompositeMatcher(java.util.Collection matchers)
Method Detail

buildCompositeGlobMatcher

public static Matcher buildCompositeGlobMatcher(java.lang.String pattenString)

buildCompositeGlobMatcher

public static Matcher buildCompositeGlobMatcher(java.lang.String pattenString,
                                                boolean ignoreCase)

buildCompositeGlobMatcher

public static Matcher buildCompositeGlobMatcher(java.lang.String[] pattenStrings)

isMatch

public boolean isMatch(java.lang.String inputString)
Specified by:
isMatch in interface Matcher

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object