public enum PatternFlag extends java.lang.Enum<PatternFlag>
| Enum Constant and Description |
|---|
CASE_INSENSITIVE |
COMMENTS |
DOTALL |
MULTILINE |
UNICODE_CASE |
UNICODE_CHARACTER_CLASS |
UNIX_LINES |
| Modifier and Type | Method and Description |
|---|---|
static int |
parseFlags(char[] flags) |
static java.lang.String |
parseFlags(int flags) |
static PatternFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternFlag UNIX_LINES
public static final PatternFlag CASE_INSENSITIVE
public static final PatternFlag COMMENTS
public static final PatternFlag MULTILINE
public static final PatternFlag DOTALL
public static final PatternFlag UNICODE_CASE
public static final PatternFlag UNICODE_CHARACTER_CLASS
public static PatternFlag[] values()
for (PatternFlag c : PatternFlag.values()) System.out.println(c);
public static PatternFlag 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 int parseFlags(char[] flags)
public static java.lang.String parseFlags(int flags)