|
|||||||||
| 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(String pattern)
|
|
Perl5RegexpMatcher(String pattern,
boolean multiline)
|
|
| Method Summary | |
|---|---|
String |
getGroupIfMatches(String str,
int group)
Returns the specified group if the string matches the Pattern. The Pattern will be managed internally by the RegexpMatcher implementation. |
boolean |
matches(String str)
Returns true is the string macthes the Pattern. The Pattern will be managed internally by the RegexpMatcher implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Perl5RegexpMatcher(String pattern)
public Perl5RegexpMatcher(String pattern,
boolean multiline)
| Method Detail |
|---|
public String getGroupIfMatches(String str,
int group)
RegexpMatcher
getGroupIfMatches in interface RegexpMatcherpublic boolean matches(String str)
RegexpMatcher
matches in interface RegexpMatcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||