com.jeantessier.text
Class MaximumCapacityPatternCache
java.lang.Object
|
+--com.jeantessier.text.MaximumCapacityPatternCache
- All Implemented Interfaces:
- org.apache.oro.text.PatternCache
- public class MaximumCapacityPatternCache
- extends java.lang.Object
- implements org.apache.oro.text.PatternCache
Method Summary |
org.apache.oro.text.regex.Pattern |
addPattern(java.lang.String expression)
|
org.apache.oro.text.regex.Pattern |
addPattern(java.lang.String expression,
int options)
|
int |
capacity()
|
org.apache.oro.text.regex.Pattern |
getPattern(java.lang.String expression)
|
org.apache.oro.text.regex.Pattern |
getPattern(java.lang.String expression,
int options)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaximumCapacityPatternCache
public MaximumCapacityPatternCache()
MaximumCapacityPatternCache
public MaximumCapacityPatternCache(org.apache.oro.text.regex.PatternCompiler compiler)
addPattern
public org.apache.oro.text.regex.Pattern addPattern(java.lang.String expression)
throws org.apache.oro.text.regex.MalformedPatternException
- Specified by:
addPattern
in interface org.apache.oro.text.PatternCache
addPattern
public org.apache.oro.text.regex.Pattern addPattern(java.lang.String expression,
int options)
throws org.apache.oro.text.regex.MalformedPatternException
- Specified by:
addPattern
in interface org.apache.oro.text.PatternCache
getPattern
public org.apache.oro.text.regex.Pattern getPattern(java.lang.String expression)
throws org.apache.oro.text.MalformedCachePatternException
- Specified by:
getPattern
in interface org.apache.oro.text.PatternCache
getPattern
public org.apache.oro.text.regex.Pattern getPattern(java.lang.String expression,
int options)
throws org.apache.oro.text.MalformedCachePatternException
- Specified by:
getPattern
in interface org.apache.oro.text.PatternCache
size
public int size()
- Specified by:
size
in interface org.apache.oro.text.PatternCache
capacity
public int capacity()
- Specified by:
capacity
in interface org.apache.oro.text.PatternCache