Uses of Class
inet.ipaddr.IPAddress.IPVersion
-
Packages that use IPAddress.IPVersion 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 IPv6 -
-
Uses of IPAddress.IPVersion in inet.ipaddr
Methods in inet.ipaddr that return IPAddress.IPVersion Modifier and Type Method Description IPAddress.IPVersion
IPAddress. getIPVersion()
IPAddress.IPVersion
IPAddress.IPAddressValueProvider. getIPVersion()
abstract IPAddress.IPVersion
IPAddressNetwork. getIPVersion()
abstract IPAddress.IPVersion
IPAddressSegment. getIPVersion()
IPAddress.IPVersion
IPAddressSegmentSeries. getIPVersion()
Returns the version of this segment seriesIPAddress.IPVersion
IPAddressString. getIPVersion()
Returns the IP address version ifIPAddressString.isIPAddress()
returns true, otherwise returns nullIPAddress.IPVersion
PrefixBlockAllocator. getVersion()
Returns the IP version of the available blocks in the allocator, which is determined by the version of the first block made available to the allocator.IPAddress.IPVersion
IPAddressStringParameters. inferVersion()
static IPAddress.IPVersion
IPAddress.IPVersion. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IPAddress.IPVersion[]
IPAddress.IPVersion. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in inet.ipaddr with parameters of type IPAddress.IPVersion Modifier and Type Method Description IPAddress
HostName. asAddress(IPAddress.IPVersion version)
Deprecated.static int
IPAddressSection. bitsPerSegment(IPAddress.IPVersion version)
static int
IPAddressSection. bytesPerSegment(IPAddress.IPVersion version)
IPAddress
IPAddressNetwork.IPAddressGenerator. from(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)
T
IPAddressNetwork.HostIDStringAddressGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)
HostName
IPAddressNetwork.HostNameGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)
IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)
IPAddress
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)
Deprecated.IPAddress
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, java.lang.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.IPVersion Constructor Description PrefixLenException(int prefixLength, IPAddress.IPVersion version)
PrefixLenException(java.lang.CharSequence prefixLength, IPAddress.IPVersion version, java.lang.Throwable cause)
-
Uses of IPAddress.IPVersion in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddress.IPVersion Modifier and Type Method Description IPAddress.IPVersion
IPAddressProvider.AdjustedAddressCreator. getProviderIPVersion()
IPAddress.IPVersion
IPAddressProvider.CachedAddressProvider. getProviderIPVersion()
default IPAddress.IPVersion
IPAddressProvider. getProviderIPVersion()
Methods in inet.ipaddr.format.validate with parameters of type IPAddress.IPVersion Modifier and Type Method Description IPAddress
ParsedHost. asAddress(IPAddress.IPVersion version)
IPAddress
IPAddressProvider.CachedAddressProvider. getProviderAddress(IPAddress.IPVersion version)
IPAddress
IPAddressProvider. getProviderAddress(IPAddress.IPVersion version)
IPAddress
IPAddressProvider.NullProvider. getProviderAddress(IPAddress.IPVersion version)
IPAddress
IPAddressProvider.VersionedAddressCreator. getProviderAddress(IPAddress.IPVersion version)
IPAddress
ParsedIPAddress. getProviderAddress(IPAddress.IPVersion version)
int
HostIdentifierStringValidator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)
int
Validator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)
int
Validator. validatePrefixLenString(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)
-
Uses of IPAddress.IPVersion in inet.ipaddr.ipv4
Methods in inet.ipaddr.ipv4 that return IPAddress.IPVersion Modifier and Type Method Description IPAddress.IPVersion
IPv4AddressNetwork. getIPVersion()
IPAddress.IPVersion
IPv4AddressSection. getIPVersion()
IPAddress.IPVersion
IPv4AddressSegment. getIPVersion()
-
Uses of IPAddress.IPVersion in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that return IPAddress.IPVersion Modifier and Type Method Description IPAddress.IPVersion
IPv6AddressNetwork. getIPVersion()
IPAddress.IPVersion
IPv6AddressSection. getIPVersion()
IPAddress.IPVersion
IPv6AddressSegment. getIPVersion()
-