public abstract class Compiler extends Object
| Constructor and Description |
|---|
Compiler() |
| Modifier and Type | Method and Description |
|---|---|
abstract Pattern |
compile(String regex)
Compile a String regular expression to a regex pattern
|
static Compiler |
create()
Create a new Compiler object depending on the used implementation
|
abstract void |
setMultiline(boolean multiline)
Whether the compiler should create multiline patterns or single line
patterns.
|
public static Compiler create()
public abstract void setMultiline(boolean multiline)
multiline - True if the pattern is multiline, otherwise falseCopyright © 2003-2014 Sakai Project. All Rights Reserved.