public interface IPAddressConverter extends IPv6Address.IPv6AddressConverter, IPv4Address.IPv4AddressConverter
Modifier and Type | Interface and Description |
---|---|
static class |
IPAddressConverter.DefaultAddressConverter |
Modifier and Type | Method and Description |
---|---|
boolean |
isIPv4Convertible(IPAddress address)
returns whether the address is IPv4 or can be converted to IPv4.
|
boolean |
isIPv6Convertible(IPAddress address)
returns whether the address is IPv6 or can be converted to IPv6.
|
toIPv6
toIPv4
boolean isIPv4Convertible(IPAddress address)
IPv4Address.IPv4AddressConverter.toIPv4(IPAddress)
returns non-null.boolean isIPv6Convertible(IPAddress address)
IPv6Address.IPv6AddressConverter.toIPv6(IPAddress)
returns non-null.