|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.activity.files.regexp.JavaPattern
Represents a regular expression of the type available in the Java
1.4 Regular Expression support. Implements a wrapper around
java.util.regex.Pattern
.
See http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html#sum for a detailed specification of the syntax of permitted regular expressions.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private java.util.regex.Pattern |
mPattern
The underlying java.util.regex.Pattern object. |
Constructor Summary | |
JavaPattern(java.lang.String regexp)
Compile a new Java 1.4-style regular expression object from the given string. |
Method Summary | |
JavaMatcher |
matcher()
Create and return a new matcher object intended to find matches of this regular expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.util.regex.Pattern mPattern
java.util.regex.Pattern
object.
Constructor Detail |
public JavaPattern(java.lang.String regexp)
regexp
- the string containing the regular expressionMethod Detail |
public JavaMatcher matcher()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |