|
void
|
validateCreditCardNumber(String creditCardNumber, List<CreditCardType> creditCardTypes, String exceptionClassName)
If if the specified creditCardNumber is not a valid credit card number throw an exception.
|
|
void
|
validateDate(String date, Locale locale, String pattern, String exceptionClassName)
If the specified date is not a valid one throw an exception.
|
|
void
|
validateDomain(String domain, String exceptionClassName)
If the specified domain does not parses as a valid domain name with a recognized top-level domain then
throw an exception.
|
|
void
|
validateDouble(String value, Locale locale, String pattern, Double minValue, Double maxValue, String exceptionClassName)
If the specified value is not a valid Double throw an exception.
|
|
void
|
validateEmail(String emailAddress, String exceptionClassName)
If the specified emailAddress is not a valid one throw an exception.
|
|
void
|
validateFloat(String value, Locale locale, String pattern, Float minValue, Float maxValue, String exceptionClassName)
If the specified value is not a valid Float throw an exception.
|
|
void
|
validateISBN10(String isbnCode, String exceptionClassName)
If the specified isbnCode is not a valid one throw an exception.
|
|
void
|
validateISBN13(String isbnCode, String exceptionClassName)
If the specified isbnCode is not a valid one throw an exception.
|
|
void
|
validateInteger(String value, Locale locale, String pattern, Integer minValue, Integer maxValue, String exceptionClassName)
If the specified value is not a valid Integer throw an exception.
|
|
void
|
validateIpAddress(String ipAddress, String exceptionClassName)
If the specified ipAddress is not a valid one throw an exception.
|
|
void
|
validateLong(String value, Locale locale, String pattern, Long minValue, Long maxValue, String exceptionClassName)
If the specified value is not a valid Long throw an exception.
|
|
void
|
validateNotEmpty(Object object, String exceptionClassName)
If the specified object is empty or null throw an exception.
|
|
void
|
validatePercentage(String percentage, String exceptionClassName)
If the specified percentage is not a valid one throw an exception.
|
|
void
|
validateShort(String value, Locale locale, String pattern, Short minValue, Short maxValue, String exceptionClassName)
If the specified value is not a valid Short throw an exception.
|
|
void
|
validateTime(String time, Locale locale, String pattern, String exceptionClassName)
If the specified time is not a valid one throw an exception.
|
|
void
|
validateTopLevelDomain(String topLevelDomain, String exceptionClassName)
If if the specified topLevelDomain does not matches any IANA-defined top-level domain throw an exception.
|
|
void
|
validateTopLevelDomainCountry(String countryCode, String exceptionClassName)
If if the specified countryCode does not matches any IANA-defined top-level domain throw an exception.
|
|
void
|
validateUrl(String url, boolean allowTwoSlashes, boolean allowAllSchemes, boolean allowLocalURLs, boolean noFragments, String exceptionClassName)
If the specified url is not a valid one throw an exception.
|
|
void
|
validateUsingRegex(String value, List<String> regexs, boolean caseSensitive, String exceptionClassName)
If the specified value does not match any of the regexs then throw an exception.
|