public class ValidationHelper extends Object
Modifier and Type | Method and Description |
---|---|
static List<ParameterValidationError> |
checkAgainstRegularExpression(String source,
String regEx) |
static List<ParameterValidationError> |
checkMaxStringLengthLimit(String source,
int maxLength) |
static List<ParameterValidationError> |
checkMinStringLengthLimit(String source,
int minLength) |
public static List<ParameterValidationError> checkAgainstRegularExpression(String source, String regEx)
source
- string to be checkedregEx
- regular expressionpublic static List<ParameterValidationError> checkMaxStringLengthLimit(String source, int maxLength)
source
- string to be checkedmaxLength
- max lengthpublic static List<ParameterValidationError> checkMinStringLengthLimit(String source, int minLength)
source
- string to be checkedminLength
- max lengthCopyright © 2019 Communote team. All rights reserved.