java.lang.Object
com.github.sttk.cliargs.validators.ShortValidator
- All Implemented Interfaces:
Validator
Is the validator class which provides the method to validate an option argument string as a
Short.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShortValidator
public ShortValidator()The default constructor.
-
-
Method Details
-
validate
Validates an option argument string whether it is valid format of the specified type, etc.- Specified by:
validatein interfaceValidator- Parameters:
storeKey- The store key used to store inCmdinstance.name- The option name.arg- The option argument string in command line arguments.- Throws:
OptionArgIsInvalid- If the option argument is invalid.
-