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.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for IPv6
|
Modifier and Type | Method and Description |
---|---|
abstract IPAddressSection |
IPAddressSection.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
abstract IPAddress |
IPAddress.toPrefixBlock(int networkPrefixLength) |
IPAddressSegmentSeries |
IPAddressSegmentSeries.toPrefixBlock(int networkPrefixLength)
Returns the segment series of the same length that spans all hosts.
|
static void |
IPAddressString.validateNetworkPrefix(IPAddress.IPVersion ipVersion,
int networkPrefixLength,
boolean allowPrefixesBeyondAddressSize) |
static int |
IPAddressString.validateNetworkPrefixLength(IPAddress.IPVersion ipVersion,
CharSequence networkPrefixLength)
Validates that the string has the format "/x" for a valid prefix length x.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IPAddressLargeDivisionGrouping.containsSinglePrefixBlock(int prefixLength) |
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4Address.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
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.setPrefixLength(int networkPrefixLength,
boolean withZeros,
boolean zeroHostIsBlock) |
IPv4Address |
IPv4Address.setPrefixLength(int prefixLength,
boolean zeroed,
boolean zeroHostIsBlock) |
IPv4AddressSection |
IPv4AddressSection.toPrefixBlock(int networkPrefixLength) |
IPv4Address |
IPv4Address.toPrefixBlock(int networkPrefixLength) |
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv6Address.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
IPv6AddressSection |
IPv6AddressSection.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.bitwiseOrNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
IPv6AddressSection |
IPv6Address.getHostSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.getHostSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6Address.getNetworkSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.getNetworkSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6Address.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
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.
|
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength) |
IPv6AddressSection |
IPv6AddressSection.setPrefixLength(int networkPrefixLength) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed) |
IPv6AddressSection |
IPv6AddressSection.setPrefixLength(int networkPrefixLength,
boolean withZeros) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed,
boolean zeroHostIsBlock) |
IPv6AddressSection |
IPv6AddressSection.setPrefixLength(int networkPrefixLength,
boolean withZeros,
boolean zeroHostIsBlock) |
IPv6Address |
IPv6Address.toPrefixBlock(int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.toPrefixBlock(int networkPrefixLength) |
Constructor and Description |
---|
IPv6AddressSection(long highBytes,
long lowBytes,
int segmentCount,
Integer networkPrefixLength) |