Class IPAddressValidator

    • Constructor Detail

      • IPAddressValidator

        public IPAddressValidator()
    • Method Detail

      • validate

        public boolean validate​(Set<String> values)
        Validates a set of string IP address.
        Specified by:
        validate in interface ServiceAttributeValidator
        Parameters:
        values - the set of IP address to validate
        Returns:
        true if all of the IP addresses are valid; false otherwise
      • validate

        public boolean validate​(String value)
        Validates an IP address.
        Parameters:
        value - the IP address to validate
        Returns:
        true if the IP address is valid; false otherwise