Package com.saperion.util.validator
Class BooleanValidation
- java.lang.Object
-
- com.saperion.util.validator.BooleanValidation
-
- All Implemented Interfaces:
Validation
public class BooleanValidation extends java.lang.Object implements Validation
The Class BooleanValidation. Checks if given input string is a boolean.
-
-
Constructor Summary
Constructors Constructor Description BooleanValidation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(java.lang.String input)
Validate the given input string.
-
-
-
Method Detail
-
validate
public boolean validate(java.lang.String input)
Validate the given input string.- Specified by:
validate
in interfaceValidation
- Parameters:
input
- the input string to validate- Returns:
- true, if validation was successful otherwise false
- See Also:
Validation.validate(java.lang.String)
-
-