Package | Description |
---|---|
inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
inet.ipaddr.format.large |
Classes for constructing arbitrary divisions of unlimited length and the groupings of those divisions.
|
inet.ipaddr.format.standard |
Classes for constructing division groupings in which the divisions are under 64 bits of length.
|
inet.ipaddr.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for IPv6
|
inet.ipaddr.mac |
Classes for MAC addresses.
|
Modifier and Type | Class and Description |
---|---|
class |
AddressPositionException
IPv6 and MAC address sections are not position-independent, which means they have a designated location within a full address.
|
class |
InconsistentPrefixException |
class |
PrefixLenException |
Modifier and Type | Method and Description |
---|---|
abstract IPAddress |
IPAddress.increment(long increment) |
AddressSegmentSeries |
AddressSegmentSeries.increment(long increment)
Returns the series from the subnet that is the given increment upwards into the subnet range, with the increment of 0
returning the first address in the range.
|
abstract Address |
Address.increment(long increment) |
abstract IPAddress |
IPAddress.incrementBoundary(long increment) |
AddressSegmentSeries |
AddressSegmentSeries.incrementBoundary(long increment)
If the given increment is positive, adds the value to the upper series (
AddressSegmentSeries.getUpper() ) in the subnet range to produce a new series. |
abstract Address |
Address.incrementBoundary(long increment) |
Constructor and Description |
---|
IPAddressLargeDivision(byte[] bytes,
byte[] upperBytes,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
Integer prefixLength) |
IPAddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix) |
IPAddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
Integer prefixLength) |
Constructor and Description |
---|
IPAddressDivisionGrouping(IPAddressDivision[] divisions,
IPAddressNetwork<?,?,?,?,?> network)
Constructs a grouping of IPAddress divisions.
|
Constructor and Description |
---|
IPv4Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(Address.SegmentValueProvider valueProvider,
Integer networkPrefixLength)
Constructs an IPv4 address.
|
IPv4Address(byte[] bytes)
Constructs an IPv4 address.
|
IPv4Address(byte[] bytes,
Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(byte[] bytes,
int byteStartIndex,
int byteEndIndex)
Constructs an IPv4 address or subnet.
|
IPv4Address(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(int address,
Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(IPv4AddressSection section)
Constructs an IPv4 address or subnet.
|
IPv4Address(IPv4AddressSegment[] segments)
Constructs an IPv4 address or subnet.
|
IPv4Address(IPv4AddressSegment[] segments,
Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4AddressSection(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
int segmentCount,
Integer networkPrefixLength) |
IPv4AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount) |
IPv4AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount,
Integer networkPrefixLength) |
IPv4AddressSection(byte[] bytes) |
IPv4AddressSection(byte[] bytes,
Integer prefix) |
IPv4AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex) |
IPv4AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
Integer prefix) |
IPv4AddressSection(int value,
Integer networkPrefixLength) |
IPv4AddressSection(IPv4AddressSegment[] segments) |
IPv4AddressSection(IPv4AddressSegment[] segments,
Integer networkPrefixLength) |
IPv4AddressSegment(int value)
Constructs a segment of an IPv4 address with the given value.
|
IPv4AddressSegment(int value,
Integer segmentPrefixLength)
Constructs a segment of an IPv4 address.
|
IPv4AddressSegment(int lower,
int upper,
Integer segmentPrefixLength)
Constructs a segment of an IPv4 address that represents a range of values.
|
Constructor and Description |
---|
IPv6Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
CharSequence zone)
|
IPv6Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address.
|
IPv6Address(Address.SegmentValueProvider valueProvider,
Integer networkPrefixLength)
Constructs an IPv6 address.
|
IPv6Address(BigInteger val)
Constructs an IPv6 address.
|
IPv6Address(BigInteger val,
CharSequence zone)
Deprecated.
|
IPv6Address(BigInteger val,
Integer networkPrefixLength)
Constructs an IPv6 address.
|
IPv6Address(BigInteger val,
Integer networkPrefixLength,
CharSequence zone)
Deprecated.
|
IPv6Address(BigInteger val,
Integer networkPrefixLength,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address or subnet.
|
IPv6Address(BigInteger val,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address.
|
IPv6Address(byte[] bytes)
Constructs an IPv6 address.
|
IPv6Address(byte[] bytes,
CharSequence zone)
Deprecated.
|
IPv6Address(byte[] bytes,
Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(byte[] bytes,
int byteStartIndex,
int byteEndIndex)
Constructs an IPv6 address or subnet.
|
IPv6Address(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(byte[] bytes,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address.
|
IPv6Address(IPv6AddressSection section) |
IPv6Address(IPv6AddressSection section,
CharSequence zone)
Deprecated.
|
IPv6Address(IPv6AddressSection section,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address or subnet.
|
IPv6Address(IPv6AddressSection section,
MACAddress eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address section and an IPv6 address section network prefix.
|
IPv6Address(IPv6AddressSection section,
MACAddressSection eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address and an IPv6 address section network prefix.
|
IPv6Address(IPv6AddressSection section,
MACAddressSection eui,
CharSequence zone)
|
IPv6Address(IPv6AddressSection section,
MACAddressSection eui,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address and an IPv6 address section network prefix.
|
IPv6Address(IPv6AddressSegment[] segments)
Constructs an IPv6 address or subnet.
|
IPv6Address(IPv6AddressSegment[] segments,
CharSequence zone)
Deprecated.
|
IPv6Address(IPv6AddressSegment[] segments,
Integer networkPrefixLength)
Constructs an IPv6 address or a set of addresses.
|
IPv6Address(IPv6AddressSegment[] segments,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address or a set of addresses.
|
IPv6Address(long highBytes,
long lowBytes)
Constructs an IPv6 address.
|
IPv6Address(long highBytes,
long lowBytes,
Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(long highBytes,
long lowBytes,
IPv6Address.IPv6Zone zone)
Constructs an IPv6 address.
|
IPv6AddressSection(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
int segmentCount,
Integer networkPrefixLength) |
IPv6AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount) |
IPv6AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount,
Integer networkPrefixLength) |
IPv6AddressSection(BigInteger val,
int segmentCount) |
IPv6AddressSection(BigInteger val,
int segmentCount,
Integer networkPrefixLength) |
IPv6AddressSection(byte[] bytes) |
IPv6AddressSection(byte[] bytes,
Integer prefix) |
IPv6AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex) |
IPv6AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
Integer prefix) |
IPv6AddressSection(IPv6AddressSegment[] segments)
Use this constructor for any address section that includes the leading segment of an IPv6 address
|
IPv6AddressSection(IPv6AddressSegment[] segments,
Integer networkPrefixLength)
Use this constructor for any address section that includes the leading segment of an IPv6 address
|
IPv6AddressSection(IPv6AddressSegment[] segments,
int startIndex,
Integer networkPrefixLength) |
IPv6AddressSection(IPv6AddressSegment segment,
int startIndex)
Constructs a single segment section with the segment at the given index in the address.
|
IPv6AddressSegment(int value)
Constructs a segment of an IPv6 address with the given value.
|
IPv6AddressSegment(int value,
Integer segmentPrefixLength)
Constructs a segment of an IPv6 address.
|
IPv6AddressSegment(int lower,
int upper,
Integer segmentPrefixLength)
Constructs a segment of an IPv6 address with the given range of values.
|
Constructor and Description |
---|
MACAddress(Address.SegmentValueProvider valueProvider,
boolean extended)
Constructs a MAC address
|
MACAddress(byte[] bytes)
Constructs a MAC address.
|
MACAddress(long address)
Constructs a MAC address.
|
MACAddress(long address,
boolean extended)
Constructs a MAC address.
|
MACAddress(MACAddressSection section)
Constructs a MAC address.
|
MACAddress(MACAddressSegment[] segments)
Constructs a MAC address.
|