|
GXPARSE hosted by |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.gorman.util.scan.RegexFactory
public abstract class RegexFactory
Produces rules for recognizing regular expressions.
This class is thread-safe, all methods are reentrant.
| Method Summary | |
|---|---|
static RegexFactory |
newInstance()
|
ScanRule |
newRegexScanRule(String regex)
Create a ScanRule instance from a regular expression. |
ScanRule |
newRegexScanRule(String regex,
ScanAction scanAction)
Create a ScanRule instance from a regular expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RegexFactory newInstance()
public ScanRule newRegexScanRule(String regex)
Create a ScanRule instance from a regular expression.
regex - The regular expression
NullPointerException - if patern is null
public ScanRule newRegexScanRule(String regex,
ScanAction scanAction)
Create a ScanRule instance from a regular expression.
regex - The regular expression
NullPointerException - if patern is null
|
GXPARSE download | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||