Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.format | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 | |
inet.ipaddr.mac |
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 |
Constructor and Description |
---|
IPAddressDivisionGrouping(IPAddressDivision[] divisions,
IPAddressNetwork<?,?,?,?,?> network)
If the grouping is prefixed, then note that we allow both null:null:x:0:0 where is x is the division bit count and null:null:0:0:0 which essentially have the same overall prefix grouping prefix.
|
IPAddressLargeDivision(byte[] bytes,
byte[] upperBytes,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
java.lang.Integer prefixLength) |
IPAddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix) |
IPAddressLargeDivision(byte[] bytes,
int bitCount,
int defaultRadix,
IPAddressNetwork<?,?,?,?,?> network,
java.lang.Integer prefixLength) |
Constructor and Description |
---|
IPv4Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
java.lang.Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(Address.SegmentValueProvider valueProvider,
java.lang.Integer networkPrefixLength)
Constructs an IPv4 address.
|
IPv4Address(byte[] bytes)
Constructs an IPv4 address.
|
IPv4Address(byte[] bytes,
java.lang.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,
java.lang.Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4Address(int address,
java.lang.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,
java.lang.Integer networkPrefixLength)
Constructs an IPv4 address or subnet.
|
IPv4AddressSection(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
int segmentCount,
java.lang.Integer networkPrefixLength) |
IPv4AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount) |
IPv4AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount,
java.lang.Integer networkPrefixLength) |
IPv4AddressSection(byte[] bytes) |
IPv4AddressSection(byte[] bytes,
java.lang.Integer prefix) |
IPv4AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex) |
IPv4AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
java.lang.Integer prefix) |
IPv4AddressSection(int value,
java.lang.Integer networkPrefixLength) |
IPv4AddressSection(IPv4AddressSegment[] segments) |
IPv4AddressSection(IPv4AddressSegment[] segments,
java.lang.Integer networkPrefixLength) |
IPv4AddressSegment(int value)
Constructs a segment of an IPv4 address with the given value.
|
IPv4AddressSegment(int value,
java.lang.Integer segmentPrefixLength)
Constructs a segment of an IPv4 address.
|
IPv4AddressSegment(int lower,
int upper,
java.lang.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,
java.lang.CharSequence zone)
Constructs an IPv6 address.
|
IPv6Address(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
java.lang.Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(Address.SegmentValueProvider valueProvider,
java.lang.Integer networkPrefixLength)
Constructs an IPv6 address.
|
IPv6Address(java.math.BigInteger val)
Constructs an IPv6 address.
|
IPv6Address(java.math.BigInteger val,
java.lang.CharSequence zone)
Constructs an IPv6 address.
|
IPv6Address(java.math.BigInteger val,
java.lang.Integer networkPrefixLength)
Constructs an IPv6 address.
|
IPv6Address(java.math.BigInteger val,
java.lang.Integer networkPrefixLength,
java.lang.CharSequence zone)
Constructs an IPv6 address or subnet.
|
IPv6Address(byte[] bytes)
Constructs an IPv6 address.
|
IPv6Address(byte[] bytes,
java.lang.CharSequence zone)
Constructs an IPv6 address.
|
IPv6Address(byte[] bytes,
java.lang.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,
java.lang.Integer networkPrefixLength)
Constructs an IPv6 address or subnet.
|
IPv6Address(IPv6AddressSection section) |
IPv6Address(IPv6AddressSection section,
java.lang.CharSequence zone) |
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,
java.lang.CharSequence zone) |
IPv6Address(IPv6AddressSegment[] segments)
Constructs an IPv6 address or subnet.
|
IPv6Address(IPv6AddressSegment[] segments,
java.lang.CharSequence zone)
Constructs an IPv6 address or a set of addresses.
|
IPv6Address(IPv6AddressSegment[] segments,
java.lang.Integer networkPrefixLength)
Constructs an IPv6 address or a set of addresses.
|
IPv6AddressSection(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
int segmentCount,
java.lang.Integer networkPrefixLength) |
IPv6AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount) |
IPv6AddressSection(Address.SegmentValueProvider valueProvider,
int segmentCount,
java.lang.Integer networkPrefixLength) |
IPv6AddressSection(java.math.BigInteger val,
int segmentCount) |
IPv6AddressSection(java.math.BigInteger val,
int segmentCount,
java.lang.Integer networkPrefixLength) |
IPv6AddressSection(byte[] bytes) |
IPv6AddressSection(byte[] bytes,
java.lang.Integer prefix) |
IPv6AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex) |
IPv6AddressSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
java.lang.Integer prefix) |
IPv6AddressSection(IPv6AddressSegment[] segments)
Use this constructor for any address section that includes the leading segment of an IPv6 address
|
IPv6AddressSection(IPv6AddressSegment[] segments,
java.lang.Integer networkPrefixLength)
Use this constructor for any address section that includes the leading segment of an IPv6 address
|
IPv6AddressSection(IPv6AddressSegment[] segments,
int startIndex,
java.lang.Integer networkPrefixLength) |
IPv6AddressSegment(int value)
Constructs a segment of an IPv6 address with the given value.
|
IPv6AddressSegment(int value,
java.lang.Integer segmentPrefixLength)
Constructs a segment of an IPv6 address.
|
IPv6AddressSegment(int lower,
int upper,
java.lang.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.
|