org.tuckey.web.filters.urlrewrite.utils
Class RegexMatcher
java.lang.Object
org.tuckey.web.filters.urlrewrite.utils.RegexMatcher
- All Implemented Interfaces:
- StringMatchingMatcher
public class RegexMatcher
- extends Object
- implements StringMatchingMatcher
Simple wrapper for java.util.regex.Matcher.
- See Also:
Matcher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexMatcher
public RegexMatcher(Matcher matcher)
find
public boolean find()
- Specified by:
find in interface StringMatchingMatcher
- See Also:
Matcher.find()
isFound
public boolean isFound()
- Specified by:
isFound in interface StringMatchingMatcher
reset
public void reset()
- Specified by:
reset in interface StringMatchingMatcher
replaceAll
public String replaceAll(String replacement)
groupCount
public int groupCount()
- Specified by:
groupCount in interface StringMatchingMatcher
group
public String group(int groupId)
- Specified by:
group in interface StringMatchingMatcher
end
public int end()
- Specified by:
end in interface StringMatchingMatcher
start
public int start()
- Specified by:
start in interface StringMatchingMatcher
isMultipleMatchingSupported
public boolean isMultipleMatchingSupported()
- Specified by:
isMultipleMatchingSupported in interface StringMatchingMatcher
Copyright © 2001-2012 Paul Tuckey. All Rights Reserved.