public static class OptionSetConverters.IterableOfOptionNameOrAcronymToOptionSetConverter<O extends Enum<O> & Option> extends Object implements ValueConverter<OptionSet<O>>
Constructor and Description |
---|
OptionSetConverters.IterableOfOptionNameOrAcronymToOptionSetConverter(Class<O> optionEnumClass) |
public OptionSetConverters.IterableOfOptionNameOrAcronymToOptionSetConverter(Class<O> optionEnumClass)
public OptionSet<O> convert(Object value) throws IllegalArgumentException
ValueConverter
V
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.convert
in interface ValueConverter<OptionSet<O extends Enum<O> & Option>>
value
- the unconverted valueIllegalArgumentException
Copyright © 2016. All rights reserved.