Interface PhoneValidator

All Superinterfaces:
Cloneable, Validator
All Known Implementing Classes:
PhoneValidatorImpl

public interface PhoneValidator extends Validator
Validates phone numbers. A phone number is considered valid if it is in E.164 format or if it matches the custom regex provided via application property `nice2.validate.customPhoneRegex`.
  • Method Details Link icon

    • getCustomRegex Link icon

      String getCustomRegex()
    • getDefaultRegion Link icon

      String getDefaultRegion()