|
||||||||||
| 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. The Pattern will be managed internally by the RegexpMatcher implementation. |
boolean |
matches(java.lang.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 JdkRegexpMatcher(java.lang.String pattern)
| Method Detail |
|---|
public java.lang.String getGroupIfMatches(java.lang.String str,
int group)
RegexpMatcher
getGroupIfMatches in interface RegexpMatcherpublic 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 | |||||||||