| Package | Description |
|---|---|
| inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
| inet.ipaddr.ipv4 |
Classes for IPv4
|
| inet.ipaddr.ipv6 |
Classes for 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)
Deprecated.
|
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 |
IPv4Address.coverWithPrefixBlock() |
IPv4Address |
IPv4AddressSeqRange.coverWithPrefixBlock() |
IPv4Address |
IPv4Address.coverWithPrefixBlock(IPAddress other) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(java.net.Inet4Address addr) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(java.net.Inet4Address addr,
java.lang.Integer networkPrefixLength) |
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
IPv4Address |
IPv4Address.getHostMask() |
IPv4Address |
IPv4Address.getLower() |
IPv4Address |
IPv4AddressSeqRange.getLower() |
IPv4Address |
IPv4Address.getLowerNonZeroHost() |
IPv4Address |
IPv4Address.getNetworkMask() |
IPv4Address |
IPv4Address.getUpper() |
IPv4Address |
IPv4AddressSeqRange.getUpper() |
IPv4Address |
IPv4Address.increment(long increment) |
IPv4Address |
IPv4Address.incrementBoundary(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.mergeToPrefixBlocks(IPAddress... addresses) |
IPv4Address[] |
IPv4Address.mergeToSequentialBlocks(IPAddress... addresses) |
IPv4Address |
IPv4Address.removePrefixLength() |
IPv4Address |
IPv4Address.removePrefixLength(boolean zeroed)
Deprecated.
|
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.setPrefixLength(int prefixLength,
boolean zeroed,
boolean zeroHostIsBlock) |
IPv4Address[] |
IPv4Address.spanWithPrefixBlocks()
Produces an array of prefix blocks that cover the same set of addresses as this.
|
IPv4Address[] |
IPv4AddressSeqRange.spanWithPrefixBlocks() |
IPv4Address[] |
IPv4Address.spanWithPrefixBlocks(IPAddress other) |
IPv4Address[] |
IPv4Address.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses as this.
|
IPv4Address[] |
IPv4AddressSeqRange.spanWithSequentialBlocks() |
IPv4Address[] |
IPv4Address.spanWithSequentialBlocks(IPAddress other) |
IPv4Address[] |
IPv4Address.subtract(IPAddress other) |
IPv4Address |
IPv4Address.toBroadcastAddress()
The broadcast address has the same prefix but a host that is all 1 bits.
|
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()
The network address has the same prefix but a zero host.
|
IPv4Address |
IPv4Address.toPrefixBlock() |
IPv4Address |
IPv4Address.toPrefixBlock(int networkPrefixLength) |
IPv4Address |
IPv4Address.toZeroHost() |
IPv4Address |
IPv4Address.toZeroHost(int prefixLength) |
IPv4Address |
IPv4Address.toZeroNetwork() |
IPv4Address |
IPv4Address.withoutPrefixLength() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<IPv4Address> |
IPv4Address.blockIterator(int segmentCount) |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.blockSpliterator(int segmentCount) |
java.util.stream.Stream<IPv4Address> |
IPv4Address.blockStream(int segmentCount) |
java.lang.Iterable<IPv4Address> |
IPv4Address.getIterable() |
java.lang.Iterable<IPv4Address> |
IPv4AddressSeqRange.getIterable() |
java.util.Iterator<IPv4Address> |
IPv4Address.iterator() |
java.util.Iterator<IPv4Address> |
IPv4AddressSeqRange.iterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.nonZeroHostIterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.prefixBlockIterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.prefixBlockIterator(int prefixLength) |
java.util.Iterator<IPv4Address> |
IPv4AddressSeqRange.prefixBlockIterator(int prefLength) |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.prefixBlockSpliterator() |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.prefixBlockSpliterator(int prefixLength) |
AddressComponentRangeSpliterator<IPv4AddressSeqRange,IPv4Address> |
IPv4AddressSeqRange.prefixBlockSpliterator(int prefLength) |
java.util.stream.Stream<IPv4Address> |
IPv4Address.prefixBlockStream() |
java.util.stream.Stream<IPv4Address> |
IPv4Address.prefixBlockStream(int prefixLength) |
java.util.stream.Stream<IPv4Address> |
IPv4AddressSeqRange.prefixBlockStream(int prefLength) |
java.util.Iterator<IPv4Address> |
IPv4Address.prefixIterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.prefixIterator(int prefixLength) |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.prefixSpliterator() |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.prefixSpliterator(int prefixLength) |
java.util.stream.Stream<IPv4Address> |
IPv4Address.prefixStream() |
java.util.stream.Stream<IPv4Address> |
IPv4Address.prefixStream(int prefixLength) |
AddressComponentRangeSpliterator<IPv4Address,IPv4AddressSegment[]> |
IPv4Address.segmentsSpliterator() |
java.util.Iterator<IPv4Address> |
IPv4Address.sequentialBlockIterator() |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.sequentialBlockSpliterator() |
java.util.stream.Stream<IPv4Address> |
IPv4Address.sequentialBlockStream() |
AddressComponentSpliterator<IPv4Address> |
IPv4Address.spliterator() |
AddressComponentRangeSpliterator<IPv4AddressSeqRange,IPv4Address> |
IPv4AddressSeqRange.spliterator() |
java.util.stream.Stream<IPv4Address> |
IPv4Address.stream() |
java.util.stream.Stream<IPv4Address> |
IPv4AddressSeqRange.stream() |
| 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 |
|---|---|
java.lang.String |
IPv4AddressSeqRange.toIPv4String(java.util.function.Function<IPv4Address,java.lang.String> lowerStringer,
java.lang.String separator,
java.util.function.Function<IPv4Address,java.lang.String> upperStringer) |
java.lang.String |
IPv4AddressSeqRange.toIPv4String(java.util.function.Function<IPv4Address,java.lang.String> lowerStringer,
java.lang.String separator,
java.util.function.Function<IPv4Address,java.lang.String> upperStringer) |
| Constructor and Description |
|---|
IPv4AddressSeqRange(IPv4Address first,
IPv4Address second) |
| Modifier and Type | Method and Description |
|---|---|
IPv4Address |
IPv6Address.get6To4IPv4Address()
Returns the second and third segments 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
|