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 |
IPv4Address.adjustPrefixBySegment(boolean nextSegment) |
IPv4Address |
IPv4Address.adjustPrefixLength(int adjustment) |
IPv4Address |
IPv4Address.applyPrefixLength(int networkPrefixLength) |
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask) |
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
static IPv4Address |
IPv4Address.getLoopback() |
IPv4Address |
IPv4Address.getLower() |
IPv4Address |
IPv4Address.getUpper() |
IPv4Address |
IPv4Address.mask(IPAddress mask) |
IPv4Address |
IPv4Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address |
IPv4Address.removePrefixLength() |
IPv4Address |
IPv4Address.removePrefixLength(boolean zeroed) |
IPv4Address |
IPv4Address.reverseBits(boolean perByte) |
IPv4Address |
IPv4Address.reverseBytes() |
IPv4Address |
IPv4Address.reverseBytesPerSegment() |
IPv4Address |
IPv4Address.reverseSegments() |
IPv4Address |
IPv4Address.setPrefixLength(int prefixLength) |
IPv4Address |
IPv4Address.setPrefixLength(int prefixLength,
boolean zeroed) |
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 . |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IPv4Address> |
IPv4Address.getIterable() |
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) |