Package com.thaiopensource.validate
Class StringOption
java.lang.Object
com.thaiopensource.validate.StringOption
- All Implemented Interfaces:
Option
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCombines multiple values of an option into a single value.
-
Constructor Details
-
StringOption
-
-
Method Details
-
getPropertyId
- Specified by:
getPropertyId
in interfaceOption
-
valueOf
- Specified by:
valueOf
in interfaceOption
- Throws:
OptionArgumentException
-
defaultValue
- Throws:
OptionArgumentPresenceException
-
normalize
- Throws:
OptionArgumentFormatException
-
combine
Description copied from interface:Option
Combines multiple values of an option into a single value. A property whose value is logically a sequence may be represented by multiple options each representing a single member of the sequence.
-