Module de.cuioss.java.tools
Package de.cuioss.tools.formatting
Enum Class SimpleFormatter.ValueHandling
java.lang.Object
java.lang.Enum<SimpleFormatter.ValueHandling>
de.cuioss.tools.formatting.SimpleFormatter.ValueHandling
- All Implemented Interfaces:
Serializable,Comparable<SimpleFormatter.ValueHandling>,Constable
- Enclosing class:
- SimpleFormatter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFormat all available data.Format all available data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SimpleFormatter.ValueHandling[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORMAT_IF_ANY_AVAILABLE
Format all available data. If some are null or empty skip them silently. -
FORMAT_IF_ALL_AVAILABLE
Format all available data. If one of them is null or empty skip all silently.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-