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
Methods in com.univocity.parsers.conversions that return EnumSelector Modifier and Type Method Description static EnumSelectorEnumSelector. 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 static <T extends java.lang.Enum<T>>
EnumConversion<T>Conversions. toEnum(java.lang.Class<T> enumType, EnumSelector... selectors)Returns a new instance ofEnumConversionstatic <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 ofEnumConversionstatic <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 ofEnumConversionConstructors 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 ofEnumSelectors, 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 ofEnumSelectors, 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 ofEnumSelectors, in the specified order.
-