org.shiftone.jrat.util.regex
Class CompositeMatcher
java.lang.Object
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)
Fields inherited from interface org.shiftone.jrat.util.regex.Matcher |
ALL, NONE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeMatcher
public CompositeMatcher(Matcher[] matchers)
CompositeMatcher
public CompositeMatcher(java.util.Collection matchers)
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