Package com.saperion.util.validator
Class BlankValidation
- java.lang.Object
-
- com.saperion.util.validator.BlankValidation
-
- All Implemented Interfaces:
Validation
public class BlankValidation extends java.lang.Object implements Validation
The Class BlankValidation. Validation to check if input string is whitespace, empty ("") or null.
-
-
Constructor Summary
Constructors Constructor Description BlankValidation()
-
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 input string is whitespace, empty ("") or null
- See Also:
Validation.validate(java.lang.String)
-
-