Package | Description |
---|---|
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv4AddressSection.adjustPrefixBySegment(boolean nextSegment) |
IPv4AddressSection |
IPv4AddressSection.adjustPrefixLength(int adjustment) |
IPv4AddressSection |
IPv4AddressSection.append(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.applyPrefixLength(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask)
Does the bitwise disjunction with this address.
|
IPv4AddressSection |
IPv4AddressSection.bitwiseOrNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(byte[] bytes,
java.lang.Integer prefix) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(IPv4AddressSegment[] segments) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(IPv4AddressSegment[] segments,
java.lang.Integer networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getHostSection() |
IPv4AddressSection |
IPv4AddressSection.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getLower() |
IPv4AddressSection |
IPv4Address.getNetworkSection() |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv4AddressSection |
IPv4Address.getSection() |
IPv4AddressSection |
IPv4AddressSection.getSection(int index) |
IPv4AddressSection |
IPv4Address.getSection(int index) |
IPv4AddressSection |
IPv4AddressSection.getSection(int index,
int endIndex) |
IPv4AddressSection |
IPv4Address.getSection(int index,
int endIndex) |
IPv4AddressSection |
IPv4AddressSection.getUpper() |
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask) |
IPv4AddressSection |
IPv4AddressSection.maskNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Applies the given mask to the network section of the address as indicated by the given prefix length.
|
IPv4AddressSection |
IPv4AddressSection.prepend(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.removePrefixLength() |
IPv4AddressSection |
IPv4AddressSection.removePrefixLength(boolean zeroed) |
IPv4AddressSection |
IPv4AddressSection.replace(IPv4AddressSection other,
int index) |
IPv4AddressSection |
IPv4AddressSection.reverseBits(boolean perByte) |
IPv4AddressSection |
IPv4AddressSection.reverseBytes() |
IPv4AddressSection |
IPv4AddressSection.reverseBytesPerSegment() |
IPv4AddressSection |
IPv4AddressSection.reverseSegments() |
IPv4AddressSection |
IPv4AddressSection.setPrefixLength(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.setPrefixLength(int networkPrefixLength,
boolean withZeros) |
IPv4AddressSection[] |
IPv4AddressSection.subtract(IPv4AddressSection other)
Subtract the give subnet from this subnet, returning an array of sections for the result (the subnets will not be contiguous so an array is required).
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IPv4AddressSection> |
IPv4AddressSection.getIterable() |
java.util.Iterator<IPv4AddressSection> |
IPv4AddressSection.iterator() |
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv4AddressSection.append(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask)
Does the bitwise disjunction with this address.
|
IPv4AddressSection |
IPv4AddressSection.bitwiseOrNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask) |
IPv4AddressSection |
IPv4AddressSection.maskNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Applies the given mask to the network section of the address as indicated by the given prefix length.
|
IPv4AddressSection |
IPv4AddressSection.prepend(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.replace(IPv4AddressSection other,
int index) |
IPv4AddressSection[] |
IPv4AddressSection.subtract(IPv4AddressSection other)
Subtract the give subnet from this subnet, returning an array of sections for the result (the subnets will not be contiguous so an array is required).
|
Constructor and Description |
---|
IPv4Address(IPv4AddressSection section)
Constructs an IPv4 address or subnet.
|
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv6AddressSection.getEmbeddedIPv4AddressSection()
Gets the IPv4 section corresponding to the lowest (least-significant) 4 bytes in the original address,
which will correspond to between 0 and 4 bytes in this address.
|
IPv4AddressSection |
IPv6AddressSection.getEmbeddedIPv4AddressSection(int startIndex,
int endIndex)
Produces an IPv4 address section from any sequence of bytes in this IPv6 address section
|
IPv4AddressSection |
IPv6Address.toMappedIPv4Segments()
::ffff:x:x/96 indicates IPv6 address mapped to IPv4
|