net.sf.json.regexp
public class RegexpUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RegexpMatcher |
getMatcher(java.lang.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 boolean |
isJDK13()
Queries the environment for the supported JDK version.
|
public static RegexpMatcher getMatcher(java.lang.String pattern)
public static boolean isJDK13()
Copyright © 2006-2014 Json-lib. All Rights Reserved.