|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
PatternCompilerOptions abstracts the options used by regular expression engines into a common set. These options are represented as integer constants that must be mapped to a value native to the regular expression implementation.
| Field Summary | |
static int |
CASE_INSENSITIVE
An option indicating a compiled regular expression should be case insensitive. |
static int |
DEFAULT
The default set of options used by a PatternCompiler. |
static int |
MULTILINE
An option indicating a compiled regular expression should treat input as having multiple lines. |
| Method Summary | |
int |
getMask(int option)
Maps one of the PatternCompilerOptions constants to a mask value that can be passed to a PatternCompiler implementation to
compile a pattern. |
| Field Detail |
public static final int DEFAULT
PatternCompiler.
public static final int CASE_INSENSITIVE
public static final int MULTILINE
| Method Detail |
public int getMask(int option)
throws java.lang.UnsupportedOperationException
PatternCompiler implementation to
compile a pattern.
option - A PatternCompilerOptions option constant.
java.lang.UnsupportedOperationException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||