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 IPAddress
HostName. 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.InetAddress
HostName. toInetAddress()
Returns the InetAddress associated with this host.void
HostName. 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 ParsedHost
HostIdentifierStringValidator. validateHost(HostName fromHost)
ParsedHost
Validator. validateHost(HostName fromHost)
ParsedHost
Validator. validateHostName(HostName fromHost)
-