Uses of Class
inet.ipaddr.PrefixLenException
-
Packages that use PrefixLenException 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 IPv4inet.ipaddr.ipv6 Classes for IPv6 -
-
Uses of PrefixLenException in inet.ipaddr
Methods in inet.ipaddr that throw PrefixLenException Modifier and Type Method 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, java.lang.CharSequence networkPrefixLength)
Validates that the string has the format "/x" for a valid prefix length x. -
Uses of PrefixLenException in inet.ipaddr.format.large
Methods in inet.ipaddr.format.large that throw PrefixLenException Modifier and Type Method Description boolean
IPAddressLargeDivisionGrouping. containsSinglePrefixBlock(int prefixLength)
-
Uses of PrefixLenException in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that throw PrefixLenException Modifier and Type Method Description IPv4Address
IPv4Address. applyPrefixLength(int networkPrefixLength)
Deprecated.IPv4Address
IPv4Address. bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
IPv4AddressSection
IPv4Address. getHostSection(int networkPrefixLength)
IPv4AddressSection
IPv4AddressSection. getHostSection(int networkPrefixLength)
IPv4AddressSection
IPv4Address. getNetworkSection(int networkPrefixLength)
IPv4AddressSection
IPv4Address. getNetworkSection(int networkPrefixLength, boolean withPrefixLength)
IPv4AddressSection
IPv4AddressSection. getNetworkSection(int networkPrefixLength)
IPv4AddressSection
IPv4AddressSection. 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.IPv4Address
IPv4Address. setPrefixLength(int prefixLength, boolean zeroed, boolean zeroHostIsBlock)
IPv4AddressSection
IPv4AddressSection. setPrefixLength(int networkPrefixLength, boolean withZeros, boolean zeroHostIsBlock)
IPv4Address
IPv4Address. toPrefixBlock(int networkPrefixLength)
IPv4AddressSection
IPv4AddressSection. toPrefixBlock(int networkPrefixLength)
-
Uses of PrefixLenException in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that throw PrefixLenException Modifier and Type Method 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
IPv6Address. getNetworkSection(int networkPrefixLength, boolean withPrefixLength)
IPv6AddressSection
IPv6AddressSection. getNetworkSection(int networkPrefixLength)
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)
IPv6Address
IPv6Address. setPrefixLength(int prefixLength, boolean zeroed)
IPv6Address
IPv6Address. setPrefixLength(int prefixLength, boolean zeroed, boolean zeroHostIsBlock)
IPv6AddressSection
IPv6AddressSection. setPrefixLength(int networkPrefixLength)
IPv6AddressSection
IPv6AddressSection. setPrefixLength(int networkPrefixLength, boolean withZeros)
IPv6AddressSection
IPv6AddressSection. setPrefixLength(int networkPrefixLength, boolean withZeros, boolean zeroHostIsBlock)
IPv6Address
IPv6Address. toPrefixBlock(int networkPrefixLength)
IPv6AddressSection
IPv6AddressSection. toPrefixBlock(int networkPrefixLength)
Constructors in inet.ipaddr.ipv6 that throw PrefixLenException Constructor Description IPv6AddressSection(long highBytes, long lowBytes, int segmentCount, java.lang.Integer networkPrefixLength)
-