|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.json.regexp.Perl5RegexpMatcher
public class Perl5RegexpMatcher
Jakarta-oro RegexpMatcher Implementation.
Runs on older JVMs (1.3.1). You must have oro-2.0.8.jar configured in your
classpath.
Constructor Summary | |
---|---|
Perl5RegexpMatcher(java.lang.String pattern)
|
Method Summary | |
---|---|
java.lang.String |
getGroupIfMatches(java.lang.String str,
int group)
Returns the specified group if the string matches the Pattern. |
boolean |
matches(java.lang.String str)
Returns true is the string macthes the Pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Perl5RegexpMatcher(java.lang.String pattern)
Method Detail |
---|
public java.lang.String getGroupIfMatches(java.lang.String str, int group)
RegexpMatcher
getGroupIfMatches
in interface RegexpMatcher
public boolean matches(java.lang.String str)
RegexpMatcher
matches
in interface RegexpMatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |