|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.json.regexp.JdkRegexpMatcher
public class JdkRegexpMatcher
JDK 1.4+ RegexpMatcher implementation.
Constructor Summary | |
---|---|
JdkRegexpMatcher(String pattern)
|
|
JdkRegexpMatcher(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 JdkRegexpMatcher(String pattern)
public JdkRegexpMatcher(String pattern, boolean multiline)
Method Detail |
---|
public String getGroupIfMatches(String str, int group)
RegexpMatcher
getGroupIfMatches
in interface RegexpMatcher
public 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 |