Uses of Class
inet.ipaddr.PrefixLenException
Packages that use PrefixLenException
Package
Description
Base classes for IP addresses and generic addresses.
Classes for constructing arbitrary divisions of unlimited length and the groupings of those divisions.
Classes for IPv4
Classes for IPv6
-
Uses of PrefixLenException in inet.ipaddr
Methods in inet.ipaddr that throw PrefixLenExceptionModifier and TypeMethodDescriptionabstract IPAddressSection
IPAddressSection.applyPrefixLength
(int networkPrefixLength) Deprecated.abstract IPAddress
IPAddress.toPrefixBlock
(int networkPrefixLength) 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. -
Uses of PrefixLenException in inet.ipaddr.format.large
Methods in inet.ipaddr.format.large that throw PrefixLenExceptionModifier and TypeMethodDescriptionboolean
IPAddressLargeDivisionGrouping.containsSinglePrefixBlock
(int prefixLength) -
Uses of PrefixLenException in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that throw PrefixLenExceptionModifier and TypeMethodDescriptionIPv4Address.applyPrefixLength
(int networkPrefixLength) Deprecated.IPv4Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv4Address.getHostSection
(int networkPrefixLength) IPv4AddressSection.getHostSection
(int networkPrefixLength) IPv4Address.getNetworkSection
(int networkPrefixLength) IPv4Address.getNetworkSection
(int networkPrefixLength, boolean withPrefixLength) IPv4AddressSection.getNetworkSection
(int networkPrefixLength) IPv4AddressSection.getNetworkSection
(int networkPrefixLength, boolean withPrefixLength) IPv4AddressSection.mask
(IPv4AddressSection mask, boolean retainPrefix) Does the bitwise conjunction with this address.IPv4Address.maskNetwork
(IPAddress mask, int networkPrefixLength) 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.setPrefixLength
(int prefixLength, boolean zeroed, boolean zeroHostIsBlock) IPv4AddressSection.setPrefixLength
(int networkPrefixLength, boolean withZeros, boolean zeroHostIsBlock) IPv4Address.toPrefixBlock
(int networkPrefixLength) IPv4AddressSection.toPrefixBlock
(int networkPrefixLength) -
Uses of PrefixLenException in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that throw PrefixLenExceptionModifier and TypeMethodDescriptionIPv6Address.applyPrefixLength
(int networkPrefixLength) Deprecated.IPv6AddressSection.applyPrefixLength
(int networkPrefixLength) Deprecated.IPv6Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv6AddressSection.bitwiseOrNetwork
(IPv6AddressSection mask, int networkPrefixLength) Does the bitwise disjunction with this address.IPv6Address.getHostSection
(int networkPrefixLength) IPv6AddressSection.getHostSection
(int networkPrefixLength) IPv6Address.getNetworkSection
(int networkPrefixLength) IPv6Address.getNetworkSection
(int networkPrefixLength, boolean withPrefixLength) IPv6AddressSection.getNetworkSection
(int networkPrefixLength) IPv6AddressSection.getNetworkSection
(int networkPrefixLength, boolean withPrefixLength) IPv6Address.maskNetwork
(IPAddress mask, int networkPrefixLength) 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.setPrefixLength
(int prefixLength) IPv6Address.setPrefixLength
(int prefixLength, boolean zeroed) IPv6Address.setPrefixLength
(int prefixLength, boolean zeroed, boolean zeroHostIsBlock) IPv6AddressSection.setPrefixLength
(int networkPrefixLength) IPv6AddressSection.setPrefixLength
(int networkPrefixLength, boolean withZeros) IPv6AddressSection.setPrefixLength
(int networkPrefixLength, boolean withZeros, boolean zeroHostIsBlock) IPv6Address.toPrefixBlock
(int networkPrefixLength) IPv6AddressSection.toPrefixBlock
(int networkPrefixLength) Constructors in inet.ipaddr.ipv6 that throw PrefixLenExceptionModifierConstructorDescriptionIPv6AddressSection
(long highBytes, long lowBytes, int segmentCount, Integer networkPrefixLength)