Constructor and Description |
---|
StringOption(StringPropertyId pid) |
Modifier and Type | Method and Description |
---|---|
Object |
combine(Object[] values)
Combines multiple values of an option into a single value.
|
String |
defaultValue() |
StringPropertyId |
getPropertyId() |
String |
normalize(String value) |
String |
valueOf(String arg) |
public StringOption(StringPropertyId pid)
public StringPropertyId getPropertyId()
getPropertyId
in interface Option
public String valueOf(String arg) throws OptionArgumentException
valueOf
in interface Option
OptionArgumentException
public String defaultValue() throws OptionArgumentPresenceException
OptionArgumentPresenceException
public String normalize(String value) throws OptionArgumentFormatException
OptionArgumentFormatException