Uses of Class
inet.ipaddr.IncompatibleAddressException
Packages that use IncompatibleAddressException
Package
Description
Base classes for IP addresses and generic addresses.
Validation of address strings and creation of address representations from the validated strings.
Classes for IPv4
Classes for IPv6
Classes for MAC addresses.
-
Uses of IncompatibleAddressException in inet.ipaddr
Methods in inet.ipaddr that throw IncompatibleAddressExceptionModifier 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
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.IPAddressString.toAddress()
Produces theIPAddress
corresponding to this IPAddressString.IPAddressString.toAddress
(IPAddress.IPVersion version) Produces theIPAddress
of the specified address version corresponding to this IPAddressString.MACAddressString.toAddress()
Produces theMACAddress
corresponding to this MACAddressString.IPAddress.toBinaryString()
Writes this address as a single binary value with always the exact same number of charactersIPAddressSection.toBinaryString()
IPAddressSegmentSeries.toBinaryString()
Writes this IP address segment series as a single binary value with always the exact same number of characters If this section represents a range of values outside of the network prefix length, then this is printed as a range of two binary values.IPAddressString.toDivisionGrouping()
Returns a representation of the address string, the address string represented "as-is", converted to value ranges with bit sizes matching the original string.Address.toHexString
(boolean with0xPrefix) Writes this address as a single hexadecimal value with always the exact same number of characters, with or without a preceding 0x prefix.AddressComponent.toHexString
(boolean with0xPrefix) Writes this address component as a single hexadecimal value with always the exact same number of characters, with or without a preceding 0x prefix.IPAddressSection.toHexString
(boolean with0xPrefix) IPAddressString.toHostAddress()
If this address string was constructed from a string comprising of a host address with prefix length or mask, then this provides just the host address, rather than the address with the prefix or mask applied that is provided byIPAddressString.toAddress()
.IPAddress.toOctalString
(boolean with0Prefix) Writes this address as a single octal value with always the exact same number of characters, with or without a preceding 0 prefix.IPAddressSection.toOctalString
(boolean with0Prefix) IPAddressSegmentSeries.toOctalString
(boolean with0Prefix) Writes this IP address segment series as a single octal value with always the exact same number of characters, with or without a preceding 0 prefix. -
Uses of IncompatibleAddressException in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that throw IncompatibleAddressExceptionModifier and TypeMethodDescriptionParsedHost.asAddress()
ParsedHost.asAddress
(IPAddress.IPVersion version) IPAddressProvider.AllCreator.getDivisionGrouping()
default IPAddressDivisionSeries
IPAddressProvider.getDivisionGrouping()
ParsedIPAddress.getDivisionGrouping()
IPAddressProvider.getProviderAddress()
IPAddressProvider.getProviderAddress
(IPAddress.IPVersion version) ParsedIPAddress.getProviderAddress()
ParsedIPAddress.getProviderAddress
(IPAddress.IPVersion version) IPAddressProvider.getProviderHostAddress()
ParsedIPAddress.getProviderHostAddress()
int
IPAddressProvider.MaskCreator.providerCompare
(IPAddressProvider other) default int
IPAddressProvider.providerCompare
(IPAddressProvider other) default boolean
IPAddressProvider.providerEquals
(IPAddressProvider other) When a value provider produces no value, equality and comparison are based on the enum IPType, which can by null.default int
IPAddressProvider.providerHashCode()
-
Uses of IncompatibleAddressException in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that throw IncompatibleAddressExceptionModifier and TypeMethodDescriptionIPv4AddressSection.bitwiseOr
(IPv4AddressSection mask) Equivalent toIPv4AddressSection.bitwiseOr(IPv4AddressSection, boolean)
with the second argument as false.IPv4AddressSection.bitwiseOr
(IPv4AddressSection mask, boolean retainPrefix) Does the bitwise disjunction with this address section.IPv4Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv4AddressSection.bitwiseOrNetwork
(IPv4AddressSection mask, int networkPrefixLength) Does the bitwise disjunction with this address section.IPv4AddressSegment.join
(IPv6AddressNetwork.IPv6AddressCreator creator, IPv4AddressSegment low) Joins with another IPv4 segment to produce a IPv6 segment.IPv4AddressSection.mask
(IPv4AddressSection mask) Equivalent toIPv4AddressSection.mask(IPv4AddressSection, boolean)
with the second argument as false.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.toInetAtonString
(IPv4Address.inet_aton_radix radix, int joinedCount) IPv4AddressSection.toInetAtonString
(IPv4Address.inet_aton_radix radix, int joinedCount) IPv4AddressSection.toMaxHost()
IPv4AddressSection.toNormalizedString
(IPAddressSection.IPStringOptions stringParams, int joinCount) IPv4AddressSection.toZeroHost()
-
Uses of IncompatibleAddressException in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that throw IncompatibleAddressExceptionModifier and TypeMethodDescriptionIPv6AddressSection.bitwiseOr
(IPv6AddressSection mask) Equivalent toIPv6AddressSection.bitwiseOr(IPv6AddressSection, boolean)
with the second argument as false.IPv6AddressSection.bitwiseOr
(IPv6AddressSection mask, boolean retainPrefix) Does the bitwise disjunction with this address.IPv6Address.bitwiseOrNetwork
(IPAddress mask, int networkPrefixLength) IPv6AddressSection.bitwiseOrNetwork
(IPv6AddressSection mask, int networkPrefixLength) Does the bitwise disjunction with this address.static IPv6AddressSection
IPv6AddressSection.createSection
(IPv6AddressNetwork.IPv6AddressCreator creator, IPv6AddressSegment[] nonMixedSection, IPv4Address mixedSection) IPv6AddressSection.mask
(IPv6AddressSection mask) Equivalent toIPv6AddressSection.mask(IPv6AddressSection, boolean)
with the second argument as false.IPv6AddressSection.mask
(IPv6AddressSection mask, boolean retainPrefix) Does the bitwise conjuction with this address.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.toBase85String()
The base 85 string is described by RFC 1924IPv6AddressSection.toBase85String()
The base 85 string is described by RFC 1924IPv6Address.toBinaryString()
IPv6Address.toHexString
(boolean with0xPrefix) IPv6AddressSection.toMaxHost()
IPv6Address.toOctalString
(boolean with0Prefix) IPv6AddressSection.toZeroHost()
Constructors in inet.ipaddr.ipv6 that throw IncompatibleAddressExceptionModifierConstructorDescriptionIPv6Address
(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, IPv6Address.IPv6Zone zone) 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, CharSequence zone) Deprecated. -
Uses of IncompatibleAddressException in inet.ipaddr.mac
Methods in inet.ipaddr.mac that throw IncompatibleAddressExceptionModifier and TypeMethodDescriptionMACAddress.toDottedString()
MACAddressSection.toDottedString()
This produces the dotted hexadecimal format aaaa.bbbb.ccccMACAddressSection.toHexString
(boolean with0xPrefix) Writes this address as a single hexadecimal value with always the exact same number of characters, with or without a preceding 0x prefix.
IPv6Address(IPv6AddressSection, MACAddressSection, IPv6Zone)