|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.json.regexp.RegexpUtils
public class RegexpUtils
Convenience utility for working withRegexpMatcher.
| Method Summary | |
|---|---|
static RegexpMatcher |
getMatcher(String pattern)
Returns a RegexpMatcher that works in a specific environment. When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher. |
static RegexpMatcher |
getMatcher(String pattern,
boolean multiline)
Returns a RegexpMatcher that works in a specific environment. When in a JVM 1.3.1 it will return a Perl5RegexpMatcher, if the JVM is younger (1.4+) it will return a JdkRegexpMatcher. |
static boolean |
isJDK13()
Queries the environment for the supported JDK version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RegexpMatcher getMatcher(String pattern)
public static RegexpMatcher getMatcher(String pattern,
boolean multiline)
public static boolean isJDK13()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||