Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask)
Equivalent to calling
IPAddress.bitwiseOr(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.mask(IPAddress mask)
Equivalent to calling
IPAddress.mask(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.mask(IPAddress mask,
boolean retainPrefix)
Applies the given mask to all addresses represented by this IPAddress.
|
abstract IPAddress |
IPAddress.maskNetwork(IPAddress mask,
int networkPrefixLength)
Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.
|
MACAddress |
MACAddressString.toAddress()
Produces the
MACAddress corresponding to this MACAddressString. |
IPAddress |
IPAddressString.toAddress()
Produces the
IPAddress corresponding to this IPAddressString. |
IPAddress |
IPAddressString.toAddress(IPAddress.IPVersion version)
Produces the
IPAddress of the specified address version corresponding to this IPAddressString. |
IPAddress |
IPAddressString.toHostAddress()
If this address string was constructed from a host address with prefix,
then this provides just the host address, rather than the address with the prefix
provided by
IPAddressString.toAddress() that incorporates the prefix. |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask) |
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask)
Equivalent to
IPv4AddressSection.bitwiseOr(IPv4AddressSection, boolean) with the second argument as false. |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask,
boolean retainPrefix)
Does the bitwise disjunction with this address section.
|
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.bitwiseOrNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address section.
|
IPv6AddressSegment |
IPv4AddressSegment.join(IPv6AddressNetwork.IPv6AddressCreator creator,
IPv4AddressSegment low)
Joins with another IPv4 segment to produce a IPv6 segment.
|
IPv4Address |
IPv4Address.mask(IPAddress mask) |
IPv4Address |
IPv4Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask)
Equivalent to
IPv4AddressSection.mask(IPv4AddressSection, boolean) with the second argument as false. |
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask,
boolean retainPrefix)
Does the bitwise conjunction with this address.
|
IPv4Address |
IPv4Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.maskNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Produces the bitwise conjunction of the given mask with the network section of the address as indicated by the given prefix length.
|
IPv4AddressSection |
IPv4AddressSection.toMaxHost() |
IPv4AddressSection |
IPv4AddressSection.toZeroHost() |
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask) |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv6AddressSection |
IPv6AddressSection.bitwiseOr(IPv6AddressSection mask)
Equivalent to
IPv6AddressSection.bitwiseOr(IPv6AddressSection, boolean) with the second argument as false. |
IPv6AddressSection |
IPv6AddressSection.bitwiseOr(IPv6AddressSection mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.bitwiseOrNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
static IPv6AddressSection |
IPv6AddressSection.createSection(IPv6AddressNetwork.IPv6AddressCreator creator,
IPv6AddressSegment[] nonMixedSection,
IPv4Address mixedSection) |
IPv6Address |
IPv6Address.mask(IPAddress mask) |
IPv6Address |
IPv6Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv6AddressSection |
IPv6AddressSection.mask(IPv6AddressSection mask)
Equivalent to
IPv6AddressSection.mask(IPv6AddressSection, boolean) with the second argument as false. |
IPv6AddressSection |
IPv6AddressSection.mask(IPv6AddressSection mask,
boolean retainPrefix)
Does the bitwise conjuction with this address.
|
IPv6Address |
IPv6Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.maskNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Applies the given mask to the network section of the address as indicated by the given prefix length.
|
IPv6AddressSection |
IPv6AddressSection.toMaxHost() |
IPv6AddressSection |
IPv6AddressSection.toZeroHost() |
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.
|
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) |