Package | Description |
---|---|
inet.ipaddr |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
IPAddressString.convertToPrefixLength()
Converts this address to a prefix length
|
IPAddress |
IPAddressString.toAddress()
Produces the
IPAddress corresponding to this IPAddressString. |
IPAddress |
IPAddressString.toAddress(IPAddress.IPVersion version)
Produces the
IPAddress of the specified address version corresponding to this IPAddressString. |
void |
IPAddressString.validate()
Validates this string is a valid address, and if not, throws an exception with a descriptive message indicating why it is not.
|
void |
IPAddressString.validateIPv4()
Validates this string is a valid IPv4 address, and if not, throws an exception with a descriptive message indicating why it is not.
|
void |
IPAddressString.validateIPv6()
Validates this string is a valid IPv6 address, and if not, throws an exception with a descriptive message indicating why it is not.
|
Constructor and Description |
---|
HostNameException(java.lang.String host,
IPAddressStringException e,
java.lang.String key) |