|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.acmsl.regexpplugin.jakartaoro.Perl5MatcherOROAdapter
Jakarta ORO-specific regexp compiler adapter. This class makes possible the use of ORO compilers inside this API. A delegation is used because Perl5Compiler is a final class.
| Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
| Constructor Summary | |
Perl5MatcherOROAdapter()
Constructs a Perl5MatcherOROAdapter for given object. |
|
| Method Summary | |
boolean |
contains(java.lang.String text,
Pattern pattern)
Checks if given text contains specified pattern. |
static org.acmsl.version.Version |
getClassVersion()
Retrieves the current version of this class. |
protected org.apache.oro.text.regex.Perl5Matcher |
getDelegatedInstance()
Retrieves an instance of Perl5Matcher class. |
MatchResult |
getMatch()
Retrieves the last match found due to a previous call to contains method. |
org.acmsl.version.Version |
getVersion()
Retrieves the current version of this object. |
protected void |
setAdaptee(org.apache.oro.text.regex.Perl5Matcher adaptee)
Sets the adaptee. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.acmsl.version.Version VERSION
| Constructor Detail |
public Perl5MatcherOROAdapter()
| Method Detail |
public boolean contains(java.lang.String text,
Pattern pattern)
contains in interface Matchertext - the text to analyze.pattern - the regular expression to apply.
public MatchResult getMatch()
getMatch in interface Matcherprotected org.apache.oro.text.regex.Perl5Matcher getDelegatedInstance()
protected void setAdaptee(org.apache.oro.text.regex.Perl5Matcher adaptee)
adaptee - the matcher to adapt.public org.acmsl.version.Version getVersion()
getVersion in interface org.acmsl.version.Versionablepublic static org.acmsl.version.Version getClassVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||