Class IBANValidator.Validator

java.lang.Object
org.apache.commons.validator.routines.IBANValidator.Validator
Enclosing class:
IBANValidator

public static class IBANValidator.Validator extends Object
The validation class
Since:
1.5.0
  • Constructor Details

    • Validator

      public Validator(String countryCode, int ibanLength, String regexWithCC)
      Creates the validator.
      Parameters:
      countryCode - The country code.
      ibanLength - The length of the IBAN.
      regexWithCC - The regex to use to check the format, the regex MUST start with the country code.
  • Method Details

    • getIbanLength

      public int getIbanLength()
      Gets the length.
      Returns:
      The length.
      Since:
      1.10.0
    • getRegexValidator

      Gets the RegexValidator.
      Returns:
      The RegexValidator.
      Since:
      1.8