Class IntValidator
- java.lang.Object
-
- com.microstrategy.utils.validator.DefaultValidator
-
- com.microstrategy.utils.validator.IntValidator
-
- All Implemented Interfaces:
ParameterValidator
public class IntValidator extends DefaultValidator
This implements a validator that checks if the input is a correct integer value.
-
-
Constructor Summary
Constructors Constructor Description IntValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(java.lang.String value)
Validate the value.
-
-
-
Method Detail
-
validate
public boolean validate(java.lang.String value)
Description copied from interface:ParameterValidator
Validate the value.- Specified by:
validate
in interfaceParameterValidator
- Overrides:
validate
in classDefaultValidator
- Parameters:
value
- - value of the parameter- Returns:
- true if it is valid
-
-