|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PatternFlag>
info.codesaway.util.regex.PatternFlag
public enum PatternFlag
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface info.codesaway.util.regex.PatternOptions |
|---|
PatternOptions.StaticMethods |
| Enum Constant Summary | |
|---|---|
CANON_EQ
|
|
CASE_INSENSITIVE
|
|
COMMENTS
|
|
DOTALL
|
|
DOTNET_NUMBERING
|
|
DUPLICATE_NAMES
|
|
EXPLICIT_CAPTURE
|
|
LITERAL
|
|
MULTILINE
|
|
PERL_OCTAL
|
|
UNICODE_CASE
|
|
UNIX_LINES
|
|
VERIFY_GROUPS
|
|
| Method Summary | |
|---|---|
PatternFlags |
and(PatternOptions flags)
|
java.util.EnumSet<PatternFlag> |
asEnumSet()
Gets a copy of the flags as an EnumSet. |
PatternFlags |
bitwiseNegate()
|
PatternFlags |
getFlags()
Gets a copy of the flags. |
java.lang.String |
getInlineFlag()
|
int |
intValue()
Returns the flags as an integer. |
PatternFlags |
minus(PatternOptions flags)
|
PatternFlags |
or(PatternOptions flags)
|
PatternFlags |
plus(PatternOptions 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. |
PatternFlags |
xor(PatternOptions flags)
|
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PatternFlag CANON_EQ
Pattern.CANON_EQpublic static final PatternFlag CASE_INSENSITIVE
Pattern.CASE_INSENSITIVEpublic static final PatternFlag COMMENTS
Pattern.COMMENTSpublic static final PatternFlag DOTALL
Pattern.DOTALLpublic static final PatternFlag DOTNET_NUMBERING
Pattern.DOTNET_NUMBERINGpublic static final PatternFlag DUPLICATE_NAMES
Pattern.DUPLICATE_NAMESpublic static final PatternFlag EXPLICIT_CAPTURE
Pattern.EXPLICIT_CAPTUREpublic static final PatternFlag LITERAL
Pattern.LITERALpublic static final PatternFlag MULTILINE
Pattern.MULTILINEpublic static final PatternFlag PERL_OCTAL
Pattern.PERL_OCTALpublic static final PatternFlag UNICODE_CASE
Pattern.UNICODE_CASEpublic static final PatternFlag UNIX_LINES
Pattern.UNIX_LINESpublic static final PatternFlag VERIFY_GROUPS
Pattern.VERIFY_GROUPS| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic int intValue()
intValue in interface PatternOptionspublic java.lang.String getInlineFlag()
public java.util.EnumSet<PatternFlag> asEnumSet()
EnumSet.
asEnumSet in interface PatternOptionspublic PatternFlags getFlags()
getFlags in interface PatternOptionspublic PatternFlags plus(PatternOptions flags)
plus in interface PatternOptionspublic PatternFlags minus(PatternOptions flags)
minus in interface PatternOptionspublic PatternFlags or(PatternOptions flags)
or in interface PatternOptionspublic PatternFlags and(PatternOptions flags)
and in interface PatternOptionspublic PatternFlags xor(PatternOptions flags)
xor in interface PatternOptionspublic PatternFlags bitwiseNegate()
bitwiseNegate in interface PatternOptions
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||