Uses of Class
com.univocity.parsers.conversions.EnumSelector
-
Packages that use EnumSelector Package Description com.univocity.parsers.annotations com.univocity.parsers.conversions -
-
Uses of EnumSelector in com.univocity.parsers.annotations
Methods in com.univocity.parsers.annotations that return EnumSelector Modifier and Type Method Description EnumSelector[]
selectors()
A list of properties of the enumeration type that will be matched against the parsed input to identify which enum element should be assigned to the annotated field. -
Uses of EnumSelector in com.univocity.parsers.conversions
Fields in com.univocity.parsers.conversions declared as EnumSelector Modifier and Type Field Description private EnumSelector[]
EnumConversion. selectors
Methods in com.univocity.parsers.conversions that return EnumSelector Modifier and Type Method Description static EnumSelector
EnumSelector. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnumSelector[]
EnumSelector. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.univocity.parsers.conversions with parameters of type EnumSelector Modifier and Type Method Description private java.lang.String
EnumConversion. getKey(T constant, EnumSelector conversionType)
static <T extends java.lang.Enum<T>>
EnumConversion<T>Conversions. toEnum(java.lang.Class<T> enumType, EnumSelector... selectors)
Returns a new instance ofEnumConversion
static <T extends java.lang.Enum<T>>
EnumConversion<T>Conversions. toEnum(java.lang.Class<T> enumType, java.lang.String customEnumElement, EnumSelector... selectors)
Returns a new instance ofEnumConversion
static <T extends java.lang.Enum<T>>
EnumConversion<T>Conversions. toEnum(java.lang.Class<T> enumType, T valueIfStringIsNull, java.lang.String valueIfEnumIsNull, java.lang.String customEnumElement, EnumSelector... selectors)
Returns a new instance ofEnumConversion
Method parameters in com.univocity.parsers.conversions with type arguments of type EnumSelector Modifier and Type Method Description private void
EnumConversion. initializeMappings(java.util.Set<EnumSelector> conversionTypes)
Constructors in com.univocity.parsers.conversions with parameters of type EnumSelector Constructor Description EnumConversion(java.lang.Class<T> enumType, EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list ofEnumSelector
s, in the specified order.EnumConversion(java.lang.Class<T> enumType, java.lang.String customEnumElement, EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list ofEnumSelector
s, in the specified order.EnumConversion(java.lang.Class<T> enumType, T valueIfStringIsNull, java.lang.String valueIfEnumIsNull, java.lang.String customEnumElement, EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list ofEnumSelector
s, in the specified order.
-