Enum Constant and Description |
---|
EMAIL
local & domain part
|
EMAIL_LEFT
local part
|
LOGIN
Blue Mind login
|
MAILSHARE_NAME
Blue Mind mailshare name
|
UUID
UUID regex
|
Modifier and Type | Method and Description |
---|---|
java.util.regex.Pattern |
getRegexPattern() |
boolean |
validate(java.lang.String value) |
static Regex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Regex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Regex LOGIN
public static final Regex MAILSHARE_NAME
public static final Regex EMAIL
public static final Regex EMAIL_LEFT
public static final Regex UUID
public static Regex[] values()
for (Regex c : Regex.values()) System.out.println(c);
public static Regex 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 java.util.regex.Pattern getRegexPattern()
public boolean validate(java.lang.String value)
Copyright © 2021. All Rights Reserved.