Uses of Class
inet.ipaddr.AddressStringException
-
Packages that use AddressStringException 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. -
-
Uses of AddressStringException in inet.ipaddr
Methods in inet.ipaddr that return AddressStringException Modifier and Type Method Description AddressStringException
HostName. getAddressStringException()
Returns the exception thrown for invalid ipv6 literal or invalid reverse DNS hosts.AddressStringException
IPAddressString. getAddressStringException()
Returns the parse exception thrown by validate, rather than throwing it.Methods in inet.ipaddr that throw AddressStringException Modifier and Type Method Description java.lang.String
IPAddressString. convertToPrefixLength()
Converts this address to a prefix lengthIPAddress
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.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.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()
.IPAddressSeqRange
IPAddressString. toSequentialRange()
Returns the range of sequential addresses from the lowest address specified in this address string to the highest.void
IPAddressString. validate()
Validates that this string is a valid address, and if not, throws an exception with a descriptive message indicating why it is not.void
MACAddressString. validate()
Validates this string is a valid address, and if not, throws an exception with a descriptive message indicating why it is not.void
IPAddressString. validateIPv4()
Validates that this string is a valid IPv4 address, and if not, throws an exception with a descriptive message indicating why it is not.void
IPAddressString. validateIPv6()
Validates that this string is a valid IPv6 address, and if not, throws an exception with a descriptive message indicating why it is not.Constructors in inet.ipaddr with parameters of type AddressStringException Constructor Description HostNameException(java.lang.String host, AddressStringException e, java.lang.String key)
-
Uses of AddressStringException in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return AddressStringException Modifier and Type Method Description AddressStringException
ParsedHost. getAddressStringException()
Methods in inet.ipaddr.format.validate that throw AddressStringException Modifier and Type Method Description IPAddressProvider
HostIdentifierStringValidator. validateAddress(IPAddressString fromString)
MACAddressProvider
HostIdentifierStringValidator. validateAddress(MACAddressString fromString)
IPAddressProvider
Validator. validateAddress(IPAddressString fromString)
MACAddressProvider
Validator. validateAddress(MACAddressString fromString)
int
HostIdentifierStringValidator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)
int
Validator. validatePrefix(java.lang.CharSequence fullAddr, IPAddress.IPVersion version)
-