org.apache.tapestry.util
Class RegexpMatcher
java.lang.Object
|
+--org.apache.tapestry.util.RegexpMatcher
- public class RegexpMatcher
- extends Object
Streamlines the interface to ORO by implicitly constructing the
necessary compilers and matchers, and by
caching compiled patterns.
- Since:
- 3.0
- Version:
- $Id: RegexpMatcher.java,v 1.2 2003/04/17 21:33:50 hlship Exp $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpMatcher
public RegexpMatcher()
compilePattern
protected Pattern compilePattern(String pattern)
getCompiledPattern
protected Pattern getCompiledPattern(String pattern)
clear
public void clear()
- Clears any previously compiled patterns.
matches
public boolean matches(String pattern,
String input)