|
|||||||||||
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.OroAwkPattern
Represents an AWK-like regular expression of the type available in
Jakarta ORO. Implements a wrapper around
org.apache.oro.text.awk.AwkPattern
.
See http://jakarta.apache.org/oro/api/org/apache/oro/text/awk/AwkCompiler.html for a detailed specification of the syntax of permitted regular expressions.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private org.apache.oro.text.regex.Pattern |
mPattern
The underlying org.apache.oro.text.awk.AwkPattern object. |
Constructor Summary | |
OroAwkPattern(java.lang.String regexp)
Compile a new AWK-style regular expression object from the given string. |
Method Summary | |
OroMatcher |
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 org.apache.oro.text.regex.Pattern mPattern
org.apache.oro.text.awk.AwkPattern
object.
Constructor Detail |
public OroAwkPattern(java.lang.String regexp) throws org.apache.oro.text.regex.MalformedPatternException
regexp
- the string containing the regular expression
org.apache.oro.text.regex.MalformedPatternException
- if the parameter is not a valid AWK regular expressionMethod Detail |
public OroMatcher matcher() throws UnsupportedRegexpPatternFormatException
UnsupportedRegexpPatternFormatException
- if AWK-style patterns are not supported by the
OroMatcher
class.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |