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.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
IPv4Address |
IPv4Address.adjustPrefixLength(int adjustment) |
IPv4Address |
IPv4Address.adjustPrefixLength(int adjustment,
boolean zeroed) |
IPv4Address |
IPv4Address.applyPrefixLength(int networkPrefixLength) |
IPv4Address |
IPv4Address.assignMinPrefixForBlock() |
IPv4Address |
IPv4Address.assignPrefixForSingleBlock() |
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask) |
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(java.net.Inet4Address addr) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
IPv4Address |
IPv4Address.getLower() |
IPv4Address |
IPv4Address.getLowerNonZeroHost() |
IPv4Address |
IPv4Address.getUpper() |
IPv4Address |
IPv4Address.increment(long increment) |
IPv4Address |
IPv4Address.intersect(IPAddress other) |
IPv4Address |
IPv4Address.mask(IPAddress mask) |
IPv4Address |
IPv4Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv4Address |
IPv4Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address[] |
IPv4Address.mergePrefixBlocks(IPAddress... addresses) |
IPv4Address |
IPv4Address.removePrefixLength() |
IPv4Address |
IPv4Address.removePrefixLength(boolean zeroed) |
IPv4Address |
IPv4Address.replace(int startIndex,
int endIndex,
IPv4Address replacement,
int replacementIndex)
Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
|
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.spanWithPrefixBlocks(IPAddress other) |
IPv4Address[] |
IPv4Address.subtract(IPAddress other) |
IPv4Address |
IPv4Address.toBroadcastAddress() |
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.toMaxHost() |
IPv4Address |
IPv4Address.toMaxHost(int prefixLength) |
IPv4Address |
IPv4Address.toNetworkAddress() |
IPv4Address |
IPv4Address.toPrefixBlock() |
IPv4Address |
IPv4Address.toPrefixBlock(int networkPrefixLength) |
IPv4Address |
IPv4Address.toZeroHost() |
IPv4Address |
IPv4Address.toZeroHost(int prefixLength) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IPv4Address> |
IPv4Address.getIterable() |
java.util.Iterator<IPv4Address> |
IPv4Address.iterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.nonZeroHostIterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.prefixBlockIterator() |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4Address.replace(int startIndex,
int endIndex,
IPv4Address replacement,
int replacementIndex)
Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
|
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 IPv6AddressSection |
IPv6AddressSection.createSection(IPv6AddressNetwork.IPv6AddressCreator creator,
IPv6AddressSegment[] nonMixedSection,
IPv4Address mixedSection) |
IPv6Address |
IPv6AddressSection.getIPv6Address(IPv4Address mixedSection)
Create an IPv6 mixed address using the given address for the embedded IPv4 segments
|