| Package | Description |
|---|---|
| com.univocity.parsers.conversions |
| Modifier and Type | Method and Description |
|---|---|
static EnumSelector |
EnumSelector.valueOf(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.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Enum<T>> |
Conversions.toEnum(Class<T> enumType,
EnumSelector... selectors)
Returns a new instance of
EnumConversion |
static <T extends Enum<T>> |
Conversions.toEnum(Class<T> enumType,
String customEnumElement,
EnumSelector... selectors)
Returns a new instance of
EnumConversion |
static <T extends Enum<T>> |
Conversions.toEnum(Class<T> enumType,
T valueIfStringIsNull,
String valueIfEnumIsNull,
String customEnumElement,
EnumSelector... selectors)
Returns a new instance of
EnumConversion |
| Constructor and Description |
|---|
EnumConversion(Class<T> enumType,
EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list of
EnumSelectors, in the specified order. |
EnumConversion(Class<T> enumType,
String customEnumElement,
EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list of
EnumSelectors, in the specified order. |
EnumConversion(Class<T> enumType,
T valueIfStringIsNull,
String valueIfEnumIsNull,
String customEnumElement,
EnumSelector... selectors)
Defines a conversion for an enumeration type that will attempt to match Strings the list of
EnumSelectors, in the specified order. |
Copyright © 2021 Univocity Software Pty Ltd. All rights reserved.