|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.json.regexp.JdkRegexpMatcher
public class JdkRegexpMatcher
JDK 1.4+ RegexpMatcher implementation.
Constructor Summary | |
---|---|
JdkRegexpMatcher(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 JdkRegexpMatcher(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 |