|
|||||||||||
| 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.OroPerl5Pattern
Represents a Perl5-like regular expression of the type available in
Jakarta ORO. Implements a wrapper around
org.apache.oro.text.regex.Perl5Pattern.
See http://www.perldoc.com/perl5.6/pod/perlre.html#Regular-Expressions 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.regex.Perl5Pattern object. |
| Constructor Summary | |
OroPerl5Pattern(java.lang.String regexp)
Compile a new Perl5-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.regex.Perl5Pattern object.
| Constructor Detail |
public OroPerl5Pattern(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 Perl5 regular expression| Method Detail |
public OroMatcher matcher()
throws UnsupportedRegexpPatternFormatException
UnsupportedRegexpPatternFormatException - if Perl5 patterns are not supported by the
OroMatcher class.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||