Uses of Enum Class
inet.ipaddr.IPAddress.IPVersion
Packages that use IPAddress.IPVersion
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
-
Uses of IPAddress.IPVersion in inet.ipaddr
Methods in inet.ipaddr that return IPAddress.IPVersionModifier and TypeMethodDescriptionIPAddress.getIPVersion()
IPAddress.IPAddressValueProvider.getIPVersion()
abstract IPAddress.IPVersion
IPAddressNetwork.getIPVersion()
abstract IPAddress.IPVersion
IPAddressSegment.getIPVersion()
IPAddressSegmentSeries.getIPVersion()
Returns the version of this segment seriesIPAddressString.getIPVersion()
Returns the IP address version ifIPAddressString.isIPAddress()
returns true, otherwise returns nullIPAddressStringParameters.inferVersion()
static IPAddress.IPVersion
Returns the enum constant of this class with the specified name.static IPAddress.IPVersion[]
IPAddress.IPVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in inet.ipaddr with parameters of type IPAddress.IPVersionModifier and TypeMethodDescriptionHostName.asAddress
(IPAddress.IPVersion version) If this represents an ip address, returns that address.static int
IPAddressSection.bitsPerSegment
(IPAddress.IPVersion version) static int
IPAddressSection.bytesPerSegment
(IPAddress.IPVersion version) IPAddressNetwork.IPAddressGenerator.from
(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddressNetwork.HostIDStringAddressGenerator.get
(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddressNetwork.HostNameGenerator.get
(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddressNetwork.IPAddressStringGenerator.get
(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddressString.getAddress
(IPAddress.IPVersion version) Similar toIPAddressString.toAddress(inet.ipaddr.IPAddress.IPVersion)
, but returns null rather than throwing an exception with the address is invalid or does not match the supplied version.static int
IPAddress.getBitCount
(IPAddress.IPVersion version) static int
IPAddressSegment.getBitCount
(IPAddress.IPVersion version) static int
IPAddress.getByteCount
(IPAddress.IPVersion version) static int
IPAddressSegment.getByteCount
(IPAddress.IPVersion version) static int
IPAddressSegment.getDefaultTextualRadix
(IPAddress.IPVersion version) static int
IPAddressSegment.getMaxSegmentValue
(IPAddress.IPVersion version) static int
IPAddress.getSegmentCount
(IPAddress.IPVersion version) boolean
HostName.isAddress
(IPAddress.IPVersion version) IPAddressString.toAddress
(IPAddress.IPVersion version) Produces theIPAddress
of the specified address version corresponding to this IPAddressString.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.Constructors in inet.ipaddr with parameters of type IPAddress.IPVersionModifierConstructorDescriptionPrefixLenException
(int prefixLength, IPAddress.IPVersion version) PrefixLenException
(CharSequence prefixLength, IPAddress.IPVersion version, Throwable cause) -
Uses of IPAddress.IPVersion in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddress.IPVersionModifier and TypeMethodDescriptionIPAddressProvider.AdjustedAddressCreator.getProviderIPVersion()
IPAddressProvider.CachedAddressProvider.getProviderIPVersion()
default IPAddress.IPVersion
IPAddressProvider.getProviderIPVersion()
IPAddressProvider.LoopbackCreator.getProviderIPVersion()
Methods in inet.ipaddr.format.validate with parameters of type IPAddress.IPVersionModifier and TypeMethodDescriptionParsedHost.asAddress
(IPAddress.IPVersion version) IPAddressProvider.CachedAddressCreator.getProviderAddress
(IPAddress.IPVersion version) IPAddressProvider.CachedAddressProvider.getProviderAddress
(IPAddress.IPVersion version) IPAddressProvider.getProviderAddress
(IPAddress.IPVersion version) IPAddressProvider.NullProvider.getProviderAddress
(IPAddress.IPVersion version) IPAddressProvider.VersionedAddressCreator.getProviderAddress
(IPAddress.IPVersion version) ParsedIPAddress.getProviderAddress
(IPAddress.IPVersion version) int
HostIdentifierStringValidator.validatePrefix
(CharSequence fullAddr, IPAddress.IPVersion version) int
Validator.validatePrefix
(CharSequence fullAddr, IPAddress.IPVersion version) -
Uses of IPAddress.IPVersion in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that return IPAddress.IPVersionModifier and TypeMethodDescriptionIPv4AddressNetwork.getIPVersion()
IPv4AddressSection.getIPVersion()
IPv4AddressSegment.getIPVersion()
-
Uses of IPAddress.IPVersion in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that return IPAddress.IPVersionModifier and TypeMethodDescriptionIPv6AddressNetwork.getIPVersion()
IPv6AddressSection.getIPVersion()
IPv6AddressSegment.getIPVersion()