public enum FormatMessages extends Enum<FormatMessages>
format
keyword validationEnum Constant and Description |
---|
EPOCH_NEGATIVE |
EPOCH_OVERFLOW |
FORMAT_NOT_SUPPORTED |
INVALID_DATE_FORMAT |
INVALID_ECMA_262_REGEX |
INVALID_EMAIL |
INVALID_HOSTNAME |
INVALID_IPV4_ADDR |
INVALID_IPV6_ADDR |
INVALID_PHONE_NUMBER |
INVALID_URI |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static FormatMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatMessages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatMessages FORMAT_NOT_SUPPORTED
public static final FormatMessages INVALID_DATE_FORMAT
public static final FormatMessages INVALID_EMAIL
public static final FormatMessages INVALID_HOSTNAME
public static final FormatMessages INVALID_IPV6_ADDR
public static final FormatMessages INVALID_ECMA_262_REGEX
public static final FormatMessages INVALID_IPV4_ADDR
public static final FormatMessages INVALID_PHONE_NUMBER
public static final FormatMessages EPOCH_NEGATIVE
public static final FormatMessages EPOCH_OVERFLOW
public static final FormatMessages INVALID_URI
public static FormatMessages[] values()
for (FormatMessages c : FormatMessages.values()) System.out.println(c);
public static FormatMessages valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<FormatMessages>
Copyright © 2014. All Rights Reserved.