|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wanghy.regex.RegexFactory
Factory of regular expressions. If JDK 1.4 or later is detected, creates a
new instance of ; otherwise creates a new
instance of JdkRegex.
Perl5Regex
| Constructor Summary | |
RegexFactory()
|
|
| Method Summary | |
static Regex |
createRegex(java.lang.String regex)
If JDK 1.4 or later is detected, creates a new instance of ; otherwise creates a new instance of
. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RegexFactory()
| Method Detail |
public static Regex createRegex(java.lang.String regex)
JdkRegex; otherwise creates a new instance of
Perl5Regex.
regex - the regular expression pattern to compile.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||