private static enum PatternCodec.RegexFlag extends java.lang.Enum<PatternCodec.RegexFlag>
Enum Constant and Description |
---|
CANON_EQ |
CASE_INSENSITIVE |
COMMENTS |
DOTALL |
GLOBAL |
LITERAL |
MULTILINE |
UNICODE_CASE |
UNIX_LINES |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Character,PatternCodec.RegexFlag> |
BY_CHARACTER |
private char |
flagChar |
private int |
javaFlag |
private java.lang.String |
unsupported |
Modifier and Type | Method and Description |
---|---|
static PatternCodec.RegexFlag |
getByCharacter(char ch) |
static PatternCodec.RegexFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternCodec.RegexFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternCodec.RegexFlag CANON_EQ
public static final PatternCodec.RegexFlag UNIX_LINES
public static final PatternCodec.RegexFlag GLOBAL
public static final PatternCodec.RegexFlag CASE_INSENSITIVE
public static final PatternCodec.RegexFlag MULTILINE
public static final PatternCodec.RegexFlag DOTALL
public static final PatternCodec.RegexFlag LITERAL
public static final PatternCodec.RegexFlag UNICODE_CASE
public static final PatternCodec.RegexFlag COMMENTS
private static final java.util.Map<java.lang.Character,PatternCodec.RegexFlag> BY_CHARACTER
private final int javaFlag
private final char flagChar
private final java.lang.String unsupported
public static PatternCodec.RegexFlag[] values()
for (PatternCodec.RegexFlag c : PatternCodec.RegexFlag.values()) System.out.println(c);
public static PatternCodec.RegexFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PatternCodec.RegexFlag getByCharacter(char ch)