|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.radeox.regex.Compiler
public abstract class Compiler
| Constructor Summary | |
|---|---|
Compiler()
|
|
| Method Summary | |
|---|---|
abstract Pattern |
compile(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Compiler()
| Method Detail |
|---|
public static Compiler create()
public abstract void setMultiline(boolean multiline)
multiline - True if the pattern is multiline, otherwise falsepublic abstract Pattern compile(java.lang.String regex)
regex - String representation of a regular expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||