public class SemicolonSeparatedListOptionType extends StringOptionType implements ConvertingOptionType
Modifier and Type | Field and Description |
---|---|
static SemicolonSeparatedListOptionType |
INSTANCE |
Constructor and Description |
---|
SemicolonSeparatedListOptionType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(java.lang.Object value) |
boolean |
isMultiValue()
Returns if the option type may return/receive multiple values.
|
java.lang.Object |
unconvert(java.lang.String value) |
getDataTypeHint, getValueProvider, isEmptyAllowed, isRestricted, validate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataTypeHint, getValueProvider, isEmptyAllowed, isRestricted, validate
public static final SemicolonSeparatedListOptionType INSTANCE
public java.lang.String convert(java.lang.Object value) throws OptionConversionException
convert
in interface ConvertingOptionType
OptionConversionException
public java.lang.Object unconvert(java.lang.String value) throws OptionConversionException
unconvert
in interface ConvertingOptionType
OptionConversionException
public boolean isMultiValue()
OptionType
List
of the data type given in OptionType.getDataTypeHint()
when it is read and converted.isMultiValue
in interface OptionType
isMultiValue
in class StringOptionType