Example usage for Java org.apache.commons.validator.routines DomainValidator fields, constructors, methods, implement or subclass
The text is from its open source code.
DomainValidator | getInstance() Returns the singleton instance of this validator. |
boolean | isValid(String domain) Returns true if the specified String parses as a valid domain name with a recognized top-level domain. |
boolean | isValidCountryCodeTld(String ccTld) Returns true if the specified String matches any IANA-defined country code top-level domain. |
boolean | isValidTld(String tld) Returns true if the specified String matches any IANA-defined top-level domain. |