Uses of Class
inet.ipaddr.HostNameException
-
Packages that use HostNameException Package Description inet.ipaddr Base classes for IP addresses and generic addresses.inet.ipaddr.format.validate Validation of address strings and creation of address representations from the validated strings. -
-
Uses of HostNameException in inet.ipaddr
Methods in inet.ipaddr that throw HostNameException Modifier and Type Method Description IPAddressHostName. toAddress()If this represents an IP address, returns that address.IPAddress[]HostName. toAllAddresses()Similar toHostName.toAddress(), however in the case where the host is resolved, this method returns all resolved addresses rather than the primary resolved address.java.net.InetAddressHostName. toInetAddress()Returns the InetAddress associated with this host.voidHostName. validate()Validates that this string is a valid host name or IP address, and if not, throws an exception with a descriptive message indicating why it is not. -
Uses of HostNameException in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that throw HostNameException Modifier and Type Method Description ParsedHostHostIdentifierStringValidator. validateHost(HostName fromHost)ParsedHostValidator. validateHost(HostName fromHost)ParsedHostValidator. validateHostName(HostName fromHost)
-