Package io.vertigo.basics.formatter
Enum Resources
- java.lang.Object
-
- java.lang.Enum<Resources>
-
- io.vertigo.basics.formatter.Resources
-
- All Implemented Interfaces:
io.vertigo.core.locale.MessageKey
,Serializable
,Comparable<Resources>
public enum Resources extends Enum<Resources> implements io.vertigo.core.locale.MessageKey
Dictionnaire des ressources.- Author:
- pchretien
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMOX_BOOLEAN_NOT_FORMATTED
Erreur de formattage d'un booléen.DYNAMOX_DATE_NOT_FORMATTED
Ce champ doit contenir une date valide.DYNAMOX_NUMBER_NOT_FORMATTED
Type de donnée erroné.DYNAMOX_NUMBER_TOO_BIG
Le nombre est trop grand.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resources
valueOf(String name)
Returns the enum constant of this type with the specified name.static Resources[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMOX_NUMBER_NOT_FORMATTED
public static final Resources DYNAMOX_NUMBER_NOT_FORMATTED
Type de donnée erroné.
-
DYNAMOX_NUMBER_TOO_BIG
public static final Resources DYNAMOX_NUMBER_TOO_BIG
Le nombre est trop grand.
-
DYNAMOX_BOOLEAN_NOT_FORMATTED
public static final Resources DYNAMOX_BOOLEAN_NOT_FORMATTED
Erreur de formattage d'un booléen.
-
DYNAMOX_DATE_NOT_FORMATTED
public static final Resources DYNAMOX_DATE_NOT_FORMATTED
Ce champ doit contenir une date valide.
-
-
Method Detail
-
values
public static Resources[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Resources c : Resources.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Resources valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-