Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPAddress.toIPv4()
If this address is IPv4, or can be converted to IPv4, returns that
IPv4Address . |
IPv4Address |
IPAddressConverter.DefaultAddressConverter.toIPv4(IPAddress address) |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
static IPv4Address |
IPv4Address.getLoopback() |
IPv4Address |
IPv4Address.getLower() |
IPv4Address |
IPv4Address.getUpper() |
IPv4Address[] |
IPv4Address.subtract(IPAddress other) |
IPv4Address |
IPv4Address.toIPv4() |
IPv4Address |
IPv4Address.IPv4AddressConverter.toIPv4(IPAddress address)
If the given address is IPv4, or can be converted to IPv4, returns that
IPv4Address . |
IPv4Address |
IPv4Address.toSubnet(int networkPrefixLength) |
IPv4Address |
IPv4Address.toSubnet(IPAddress mask)
Creates a subnet address using the given mask.
|
IPv4Address |
IPv4Address.toSubnet(IPAddress mask,
java.lang.Integer networkPrefixLength)
Creates a subnet address using the given mask.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IPv4Address> |
IPv4Address.getAddresses() |
java.util.Iterator<IPv4Address> |
IPv4Address.iterator() |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv6Address.get6to4IPv4Address()
Returns the second and third bytes as an
IPv4Address . |
IPv4Address |
IPv6Address.getEmbeddedIPv4Address()
Returns the embedded
IPv4Address in the lowest (least-significant) two segments. |
IPv4Address |
IPv6Address.getEmbeddedIPv4Address(int byteIndex)
Produces an IPv4 address from any sequence of 4 bytes in this IPv6 address.
|
IPv4Address |
IPv6Address.toIPv4()
If this address is IPv4 convertible, returns that address.
|
Modifier and Type | Method and Description |
---|---|
static IPv6Address |
IPv6Address.toIPv4Mapped(IPv4Address addr) |