| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Pattern.Flag>
javax.validation.constraints.Pattern.Flag
public static enum Pattern.Flag
Possible Regexp flags
| Enum Constant Summary | |
|---|---|
CANON_EQ
Enables canonical equivalence  | 
|
CASE_INSENSITIVE
Enables case-insensitive matching  | 
|
COMMENTS
Permits whitespace and comments in pattern  | 
|
DOTALL
Enables dotall mode  | 
|
MULTILINE
Enables multiline mode  | 
|
UNICODE_CASE
Enables Unicode-aware case folding  | 
|
UNIX_LINES
Enables Unix lines mode  | 
|
| Method Summary | |
|---|---|
 int | 
getValue()
 | 
static Pattern.Flag | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static Pattern.Flag[] | 
values()
Returns an array containing the constants of this enum type, in the order they are declared.  | 
| Methods inherited from class java.lang.Enum | 
|---|
clone, compareTo, equals, finalize, 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 Pattern.Flag UNIX_LINES
Pattern.UNIX_LINESpublic static final Pattern.Flag CASE_INSENSITIVE
Pattern.CASE_INSENSITIVEpublic static final Pattern.Flag COMMENTS
Pattern.COMMENTSpublic static final Pattern.Flag MULTILINE
Pattern.MULTILINEpublic static final Pattern.Flag DOTALL
Pattern.DOTALLpublic static final Pattern.Flag UNICODE_CASE
Pattern.UNICODE_CASEpublic static final Pattern.Flag CANON_EQ
Pattern.CANON_EQ| Method Detail | 
|---|
public static Pattern.Flag[] values()
for (Pattern.Flag c : Pattern.Flag.values()) System.out.println(c);
public static Pattern.Flag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
Pattern
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41