| Package | Description |
|---|---|
| inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
| inet.ipaddr.ipv4 |
Classes for IPv4
|
| inet.ipaddr.ipv6 |
Classes for IPv6
|
| inet.ipaddr.mac |
Classes for MAC addresses.
|
| Modifier and Type | Method and Description |
|---|---|
IPv6Address |
IPAddress.toIPv6() |
IPv6Address |
IPAddressConverter.DefaultAddressConverter.toIPv6(IPAddress address) |
| Modifier and Type | Method and Description |
|---|---|
IPv6Address |
IPv4Address.getIPv4MappedAddress() |
IPv6Address |
IPv4Address.getIPv6Address(IPv6AddressSegment[] segs)
Create an IPv6 mixed address using the given ipv6 segments and using this address for the embedded IPv4 segments
|
IPv6Address |
IPv4Address.toIPv6()
Returns this address converted to IPv6.
|
| Modifier and Type | Method and Description |
|---|---|
IPv6Address |
IPv6Address.adjustPrefixBySegment(boolean nextSegment) |
IPv6Address |
IPv6Address.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
IPv6Address |
IPv6Address.adjustPrefixLength(int adjustment) |
IPv6Address |
IPv6Address.adjustPrefixLength(int adjustment,
boolean zeroed) |
IPv6Address |
IPv6Address.applyPrefixLength(int networkPrefixLength) |
IPv6Address |
IPv6Address.assignMinPrefixForBlock() |
IPv6Address |
IPv6Address.assignPrefixForSingleBlock() |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask) |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(java.net.Inet6Address addr) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(java.net.Inet6Address addr,
java.lang.Integer networkPrefixLength) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(IPv6AddressSection section) |
IPv6Address |
IPv6AddressNetwork.IPv6AddressCreator.createAddress(IPv6AddressSection section,
java.lang.CharSequence zone) |
IPv6Address |
IPv6AddressSection.getIPv6Address(IPv4Address mixedSection)
Create an IPv6 mixed address using the given address for the embedded IPv4 segments
|
IPv6Address |
IPv6Address.getLower() |
IPv6Address |
IPv6AddressSeqRange.getLower() |
IPv6Address |
IPv6Address.getLowerNonZeroHost() |
IPv6Address |
IPv6Address.getUpper() |
IPv6Address |
IPv6AddressSeqRange.getUpper() |
IPv6Address |
IPv6Address.increment(long increment) |
IPv6Address |
IPv6Address.incrementBoundary(long increment) |
IPv6Address |
IPv6Address.intersect(IPAddress other) |
IPv6Address |
IPv6Address.mask(IPAddress mask) |
IPv6Address |
IPv6Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address[] |
IPv6Address.mergeToPrefixBlocks(IPAddress... addresses) |
IPv6Address[] |
IPv6Address.mergeToSequentialBlocks(IPAddress... addresses) |
IPv6Address |
IPv6Address.removePrefixLength() |
IPv6Address |
IPv6Address.removePrefixLength(boolean zeroed)
Deprecated.
|
IPv6Address |
IPv6Address.removeZone()
Returns the equivalent address but with no zone.
|
IPv6Address |
IPv6Address.replace(int startIndex,
int endIndex,
IPv6Address 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
|
IPv6Address |
IPv6Address.reverseBits(boolean perByte) |
IPv6Address |
IPv6Address.reverseBytes() |
IPv6Address |
IPv6Address.reverseBytesPerSegment() |
IPv6Address |
IPv6Address.reverseSegments() |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed) |
IPv6Address[] |
IPv6Address.spanWithPrefixBlocks()
Produces an array of prefix blocks that cover the same set of addresses as this.
|
IPv6Address[] |
IPv6AddressSeqRange.spanWithPrefixBlocks() |
IPv6Address[] |
IPv6Address.spanWithPrefixBlocks(IPAddress other) |
IPv6Address[] |
IPv6Address.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses as this.
|
IPv6Address[] |
IPv6AddressSeqRange.spanWithSequentialBlocks() |
IPv6Address[] |
IPv6Address.spanWithSequentialBlocks(IPAddress other) |
IPv6Address[] |
IPv6Address.subtract(IPAddress other) |
IPv6Address |
IPv6Address.toIPv6() |
IPv6Address |
IPv6Address.IPv6AddressConverter.toIPv6(IPAddress address)
If the given address is IPv6, or can be converted to IPv6, returns that
IPv6Address. |
IPv6Address |
IPv6Address.toMaxHost() |
IPv6Address |
IPv6Address.toMaxHost(int prefixLength) |
IPv6Address |
IPv6Address.toPrefixBlock() |
IPv6Address |
IPv6Address.toPrefixBlock(int networkPrefixLength) |
IPv6Address |
IPv6Address.toZeroHost() |
IPv6Address |
IPv6Address.toZeroHost(int prefixLength) |
IPv6Address |
IPv6Address.withoutPrefixLength() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<IPv6Address> |
IPv6Address.blockIterator(int segmentCount) |
java.lang.Iterable<IPv6Address> |
IPv6Address.getIterable() |
java.lang.Iterable<IPv6Address> |
IPv6AddressSeqRange.getIterable() |
java.util.Iterator<IPv6Address> |
IPv6Address.iterator() |
java.util.Iterator<IPv6Address> |
IPv6AddressSeqRange.iterator() |
java.util.Iterator<IPv6Address> |
IPv6Address.nonZeroHostIterator() |
java.util.Iterator<IPv6Address> |
IPv6Address.prefixBlockIterator() |
java.util.Iterator<IPv6Address> |
IPv6Address.prefixBlockIterator(int prefixLength) |
java.util.Iterator<IPv6Address> |
IPv6Address.prefixIterator() |
java.util.Iterator<IPv6Address> |
IPv6Address.prefixIterator(int prefixLength) |
java.util.Iterator<IPv6Address> |
IPv6Address.sequentialBlockIterator() |
| Modifier and Type | Method and Description |
|---|---|
IPv6Address |
IPv6Address.replace(int startIndex,
int endIndex,
IPv6Address 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 |
|---|---|
java.lang.String |
IPv6AddressSeqRange.toIPv6String(java.util.function.Function<IPv6Address,java.lang.String> lowerStringer,
java.lang.String separator,
java.util.function.Function<IPv6Address,java.lang.String> upperStringer) |
java.lang.String |
IPv6AddressSeqRange.toIPv6String(java.util.function.Function<IPv6Address,java.lang.String> lowerStringer,
java.lang.String separator,
java.util.function.Function<IPv6Address,java.lang.String> upperStringer) |
| Constructor and Description |
|---|
IPv6Address(IPv6Address prefix,
MACAddress eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address section and an IPv6 address section network prefix.
|
IPv6AddressSeqRange(IPv6Address first,
IPv6Address second) |
| Modifier and Type | Method and Description |
|---|---|
IPv6Address |
MACAddress.toLinkLocalIPv6()
Converts to a link-local Ipv6 address.
|