public static class OptionSetConverters.AcronymStringToOptionSetConverter<O extends java.lang.Enum<O> & Option> extends java.lang.Object implements ValueConverter<OptionSet<O>>
| Constructor and Description |
|---|
AcronymStringToOptionSetConverter(java.lang.Class<O> optionEnumClass) |
| Modifier and Type | Method and Description |
|---|---|
OptionSet<O> |
convert(java.lang.Object value)
Converts the given value into the target type
V if it is not null
and if such a conversion is supported by this converter. |
public AcronymStringToOptionSetConverter(java.lang.Class<O> optionEnumClass)
public OptionSet<O> convert(java.lang.Object value) throws java.lang.IllegalArgumentException
ValueConverterV if it is not null
and if such a conversion is supported by this converter. Returns null if
the specified value is null or if the value cannot be converted.Copyright © 2021. All Rights Reserved.