- All Known Implementing Classes:
BigDecimalValidator
,BigIntegerValidator
,DoubleValidator
,FloatValidator
,IntegerValidator
,LongValidator
,ShortValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Is the interface which provides the method declaration to validate an option argument.
-
Method Summary
-
Method Details
-
validate
Validates an option argument string whether it is valid format of the specified type, etc.- Parameters:
storeKey
- The store key used to store inCmd
instance.name
- The option name.arg
- The option argument string in command line arguments.- Throws:
OptionArgIsInvalid
- If the option argument is invalid.
-