Uses of Class
inet.ipaddr.IncompatibleAddressException
-
Packages that use IncompatibleAddressException Package Description inet.ipaddr Base classes for IP addresses and generic addresses.inet.ipaddr.format.validate Validation of address strings and creation of address representations from the validated strings.inet.ipaddr.ipv4 Classes for IPv4inet.ipaddr.ipv6 Classes for IPv6inet.ipaddr.mac Classes for MAC addresses. -
-
Uses of IncompatibleAddressException in inet.ipaddr
Methods in inet.ipaddr that throw IncompatibleAddressException Modifier and Type Method Description abstract IPAddress
IPAddress. bitwiseOr(IPAddress mask)
Equivalent to callingIPAddress.bitwiseOr(IPAddress, boolean)
with the second argument as false.abstract IPAddress
IPAddress. bitwiseOr(IPAddress mask, boolean retainPrefix)
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. mask(IPAddress mask)
Equivalent to callingIPAddress.mask(IPAddress, boolean)
with the second argument as false.abstract IPAddress
IPAddress. mask(IPAddress mask, boolean retainPrefix)
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.IPAddress
IPAddressString. toAddress()
Produces theIPAddress
corresponding to this IPAddressString.IPAddress
IPAddressString. toAddress(IPAddress.IPVersion version)
Produces theIPAddress
of the specified address version corresponding to this IPAddressString.MACAddress
MACAddressString. toAddress()
Produces theMACAddress
corresponding to this MACAddressString.java.lang.String
IPAddress. toBinaryString()
Writes this address as a single binary value with always the exact same number of charactersjava.lang.String
IPAddressSection. toBinaryString()
java.lang.String
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.IPAddressDivisionSeries
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.java.lang.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.java.lang.String
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.java.lang.String
IPAddressSection. toHexString(boolean with0xPrefix)
IPAddress
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()
.java.lang.String
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.java.lang.String
IPAddressSection. toOctalString(boolean with0Prefix)
java.lang.String
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 IncompatibleAddressException Modifier and Type Method Description IPAddress
ParsedHost. asAddress()
IPAddress
ParsedHost. asAddress(IPAddress.IPVersion version)
IPAddressDivisionSeries
IPAddressProvider.AllCreator. getDivisionGrouping()
default IPAddressDivisionSeries
IPAddressProvider. getDivisionGrouping()
IPAddressDivisionSeries
ParsedIPAddress. getDivisionGrouping()
IPAddress
IPAddressProvider. getProviderAddress()
IPAddress
IPAddressProvider. getProviderAddress(IPAddress.IPVersion version)
IPAddress
ParsedIPAddress. getProviderAddress()
IPAddress
ParsedIPAddress. getProviderAddress(IPAddress.IPVersion version)
IPAddress
IPAddressProvider. getProviderHostAddress()
IPAddress
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 IncompatibleAddressException Modifier and Type Method Description IPv4Address
IPv4Address. bitwiseOr(IPAddress mask)
IPv4Address
IPv4Address. bitwiseOr(IPAddress mask, boolean retainPrefix)
IPv4AddressSection
IPv4AddressSection. bitwiseOr(IPv4AddressSection mask)
Equivalent toIPv4AddressSection.bitwiseOr(IPv4AddressSection, boolean)
with the second argument as false.IPv4AddressSection
IPv4AddressSection. bitwiseOr(IPv4AddressSection mask, boolean retainPrefix)
Does the bitwise disjunction with this address section.IPv4Address
IPv4Address. bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
IPv4AddressSection
IPv4AddressSection. bitwiseOrNetwork(IPv4AddressSection mask, int networkPrefixLength)
Does the bitwise disjunction with this address section.IPv6AddressSegment
IPv4AddressSegment. join(IPv6AddressNetwork.IPv6AddressCreator creator, IPv4AddressSegment low)
Joins with another IPv4 segment to produce a IPv6 segment.IPv4Address
IPv4Address. mask(IPAddress mask)
IPv4Address
IPv4Address. mask(IPAddress mask, boolean retainPrefix)
IPv4AddressSection
IPv4AddressSection. mask(IPv4AddressSection mask)
Equivalent toIPv4AddressSection.mask(IPv4AddressSection, boolean)
with the second argument as false.IPv4AddressSection
IPv4AddressSection. mask(IPv4AddressSection mask, boolean retainPrefix)
Does the bitwise conjunction with this address.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.java.lang.String
IPv4Address. toInetAtonString(IPv4Address.inet_aton_radix radix, int joinedCount)
java.lang.String
IPv4AddressSection. toInetAtonString(IPv4Address.inet_aton_radix radix, int joinedCount)
IPv4AddressSection
IPv4AddressSection. toMaxHost()
java.lang.String
IPv4AddressSection. toNormalizedString(IPAddressSection.IPStringOptions stringParams, int joinCount)
IPv4AddressSection
IPv4AddressSection. toZeroHost()
-
Uses of IncompatibleAddressException in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that throw IncompatibleAddressException Modifier and Type Method Description IPv6Address
IPv6Address. bitwiseOr(IPAddress mask)
IPv6Address
IPv6Address. bitwiseOr(IPAddress mask, boolean retainPrefix)
IPv6AddressSection
IPv6AddressSection. bitwiseOr(IPv6AddressSection mask)
Equivalent toIPv6AddressSection.bitwiseOr(IPv6AddressSection, boolean)
with the second argument as false.IPv6AddressSection
IPv6AddressSection. bitwiseOr(IPv6AddressSection mask, boolean retainPrefix)
Does the bitwise disjunction with this address.IPv6Address
IPv6Address. bitwiseOrNetwork(IPAddress mask, int networkPrefixLength)
IPv6AddressSection
IPv6AddressSection. bitwiseOrNetwork(IPv6AddressSection mask, int networkPrefixLength)
Does the bitwise disjunction with this address.static IPv6AddressSection
IPv6AddressSection. createSection(IPv6AddressNetwork.IPv6AddressCreator creator, IPv6AddressSegment[] nonMixedSection, IPv4Address mixedSection)
IPv6Address
IPv6Address. mask(IPAddress mask)
IPv6Address
IPv6Address. mask(IPAddress mask, boolean retainPrefix)
IPv6AddressSection
IPv6AddressSection. mask(IPv6AddressSection mask)
Equivalent toIPv6AddressSection.mask(IPv6AddressSection, boolean)
with the second argument as false.IPv6AddressSection
IPv6AddressSection. mask(IPv6AddressSection mask, boolean retainPrefix)
Does the bitwise conjuction with this address.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.java.lang.String
IPv6Address. toBase85String()
The base 85 string is described by RFC 1924java.lang.String
IPv6AddressSection. toBase85String()
The base 85 string is described by RFC 1924java.lang.String
IPv6Address. toBinaryString()
java.lang.String
IPv6Address. toHexString(boolean with0xPrefix)
IPv6AddressSection
IPv6AddressSection. toMaxHost()
java.lang.String
IPv6Address. toOctalString(boolean with0Prefix)
IPv6AddressSection
IPv6AddressSection. toZeroHost()
Constructors in inet.ipaddr.ipv6 that throw IncompatibleAddressException Constructor Description IPv6Address(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, java.lang.CharSequence zone)
Deprecated. -
Uses of IncompatibleAddressException in inet.ipaddr.mac
Methods in inet.ipaddr.mac that throw IncompatibleAddressException Modifier and Type Method Description java.lang.String
MACAddress. toDottedString()
java.lang.String
MACAddressSection. toDottedString()
This produces the dotted hexadecimal format aaaa.bbbb.ccccjava.lang.String
MACAddressSection. 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.
-