Uses of Class
inet.ipaddr.AddressConversionException
Packages that use AddressConversionException
Package
Description
Base classes for IP addresses and generic addresses.
Classes for IPv4
Classes for IPv6
-
Uses of AddressConversionException in inet.ipaddr
Methods in inet.ipaddr that throw AddressConversionExceptionModifier and TypeMethodDescriptionabstract IPAddress
Equivalent to callingIPAddress.bitwiseOr(IPAddress, boolean)
with the second argument as false.abstract IPAddress
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.coverWithPrefixBlock
(IPAddress other) Returns the minimal-size prefix block that covers all the addresses spanning from this subnet to the given subnet.abstract IPAddress
Produces the subnet whose addresses are found in both this and the given subnet argument, or null if no such addresses.abstract IPAddress
Equivalent to callingIPAddress.mask(IPAddress, boolean)
with the second argument as false.abstract IPAddress
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.abstract IPAddress[]
IPAddress.mergeToPrefixBlocks
(IPAddress... addresses) Merges this with the list of addresses to produce the smallest list of prefix blocks.abstract IPAddress[]
IPAddress.mergeToSequentialBlocks
(IPAddress... addresses) Merges this with the list of subnets to produce the smallest list of block subnets that are sequential.abstract IPAddress[]
IPAddress.spanWithPrefixBlocks
(IPAddress other) Produces the list of prefix block subnets that span from this subnet to the given subnet.abstract IPAddressSeqRange
IPAddress.spanWithRange
(IPAddress other) Deprecated.abstract IPAddress[]
IPAddress.spanWithSequentialBlocks
(IPAddress other) Produces a list of sequential block subnets that span all values from this subnet to the given subnet.abstract IPAddress[]
Subtract the given subnet from this subnet, returning an array of subnets for the result (the subnets will not be contiguous so an array is required).abstract IPAddressSeqRange
IPAddress.toSequentialRange
(IPAddress other) Creates a sequential range instance from this and the given address, spanning from the lowest to the highest addresses in the two subnets -
Uses of AddressConversionException in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that throw AddressConversionExceptionModifier and TypeMethodDescriptionIPv4Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv4Address.coverWithPrefixBlock
(IPAddress other) IPv4AddressSection.coverWithPrefixBlock
(IPv4AddressSection other) IPv4Address.maskNetwork
(IPAddress mask, int networkPrefixLength) IPv4Address.mergeToPrefixBlocks
(IPAddress... addresses) IPv4Address.mergeToSequentialBlocks
(IPAddress... addresses) IPv4Address.spanWithPrefixBlocks
(IPAddress other) IPv4Address.spanWithRange
(IPAddress other) Deprecated.IPv4Address.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses as this.IPv4Address.spanWithSequentialBlocks
(IPAddress other) IPv4AddressSection.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of sections as this. -
Uses of AddressConversionException in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that throw AddressConversionExceptionModifier and TypeMethodDescriptionIPv6Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv6Address.coverWithPrefixBlock
(IPAddress other) IPv6AddressSection.coverWithPrefixBlock
(IPv6AddressSection other) IPv6Address.maskNetwork
(IPAddress mask, int networkPrefixLength) IPv6Address.mergeToPrefixBlocks
(IPAddress... addresses) IPv6Address.mergeToSequentialBlocks
(IPAddress... addresses) IPv6Address.spanWithPrefixBlocks
(IPAddress other) IPv6Address.spanWithRange
(IPAddress other) Deprecated.IPv6Address.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses as this.IPv6Address.spanWithSequentialBlocks
(IPAddress other) IPv6AddressSection.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of sections as this.
IPAddress.toSequentialRange(IPAddress)