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.IPVersionIPAddress. getIPVersion()IPAddress.IPVersionIPAddress.IPAddressValueProvider. getIPVersion()abstract IPAddress.IPVersionIPAddressNetwork. getIPVersion()abstract IPAddress.IPVersionIPAddressSegment. getIPVersion()IPAddress.IPVersionIPAddressSegmentSeries. getIPVersion()Returns the version of this segment seriesIPAddress.IPVersionIPAddressString. getIPVersion()Returns the IP address version ifIPAddressString.isIPAddress()returns true, otherwise returns nullIPAddress.IPVersionPrefixBlockAllocator. 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.IPVersionIPAddressStringParameters. inferVersion()static IPAddress.IPVersionIPAddress.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 IPAddressHostName. asAddress(IPAddress.IPVersion version)Deprecated.static intIPAddressSection. bitsPerSegment(IPAddress.IPVersion version)static intIPAddressSection. bytesPerSegment(IPAddress.IPVersion version)IPAddressIPAddressNetwork.IPAddressGenerator. from(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)TIPAddressNetwork.HostIDStringAddressGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)HostNameIPAddressNetwork.HostNameGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)IPAddressStringIPAddressNetwork.IPAddressStringGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)IPAddressIPAddressString. 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 intIPAddress. getBitCount(IPAddress.IPVersion version)static intIPAddressSegment. getBitCount(IPAddress.IPVersion version)static intIPAddress. getByteCount(IPAddress.IPVersion version)static intIPAddressSegment. getByteCount(IPAddress.IPVersion version)static intIPAddressSegment. getDefaultTextualRadix(IPAddress.IPVersion version)static intIPAddressSegment. getMaxSegmentValue(IPAddress.IPVersion version)static intIPAddress. getSegmentCount(IPAddress.IPVersion version)booleanHostName. isAddress(IPAddress.IPVersion version)Deprecated.IPAddressIPAddressString. toAddress(IPAddress.IPVersion version)Produces theIPAddressof the specified address version corresponding to this IPAddressString.static voidIPAddressString. validateNetworkPrefix(IPAddress.IPVersion ipVersion, int networkPrefixLength, boolean allowPrefixesBeyondAddressSize)static intIPAddressString. 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.IPVersionIPAddressProvider.AdjustedAddressCreator. getProviderIPVersion()IPAddress.IPVersionIPAddressProvider.CachedAddressProvider. getProviderIPVersion()default IPAddress.IPVersionIPAddressProvider. getProviderIPVersion()Methods in inet.ipaddr.format.validate with parameters of type IPAddress.IPVersion Modifier and Type Method Description IPAddressParsedHost. asAddress(IPAddress.IPVersion version)IPAddressIPAddressProvider.CachedAddressProvider. getProviderAddress(IPAddress.IPVersion version)IPAddressIPAddressProvider. getProviderAddress(IPAddress.IPVersion version)IPAddressIPAddressProvider.NullProvider. getProviderAddress(IPAddress.IPVersion version)IPAddressIPAddressProvider.VersionedAddressCreator. getProviderAddress(IPAddress.IPVersion version)IPAddressParsedIPAddress. getProviderAddress(IPAddress.IPVersion version)intHostIdentifierStringValidator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)intValidator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)intValidator. 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.IPVersionIPv4AddressNetwork. getIPVersion()IPAddress.IPVersionIPv4AddressSection. getIPVersion()IPAddress.IPVersionIPv4AddressSegment. getIPVersion() -
Uses of IPAddress.IPVersion in inet.ipaddr.ipv6
Methods in inet.ipaddr.ipv6 that return IPAddress.IPVersion Modifier and Type Method Description IPAddress.IPVersionIPv6AddressNetwork. getIPVersion()IPAddress.IPVersionIPv6AddressSection. getIPVersion()IPAddress.IPVersionIPv6AddressSegment. getIPVersion()
-