Uses of Class
inet.ipaddr.IPAddressString
Packages that use IPAddressString
Package
Description
Base classes for IP addresses and generic addresses.
Validation of address strings and creation of address representations from the validated strings.
-
Uses of IPAddressString in inet.ipaddr
Methods in inet.ipaddr that return IPAddressStringModifier and TypeMethodDescriptionIPAddressString.adjustPrefixBySegment
(boolean nextSegment) Increases or decreases prefix length to the next segment boundary of the given address version's standard segment boundaries.IPAddressString.adjustPrefixLength
(int adjustment) Increases or decreases prefix length by the given increment.HostName.asAddressString()
If this represents an ip address or represents any valid IPAddressString, returns the corresponding address string.IPAddressNetwork.IPAddressStringGenerator.get
(byte[] bytes) IPAddressNetwork.IPAddressStringGenerator.get
(Address.AddressValueProvider addressProvider) IPAddressNetwork.IPAddressStringGenerator.get
(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength, CharSequence zone) IPAddressNetwork.IPAddressStringGenerator.get
(IPAddress.IPAddressValueProvider addressProvider) IPAddressNetwork.IPAddressStringGenerator.get
(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddress.toAddressString()
Generates an IPAddressString object for this IPAddress object.Methods in inet.ipaddr with parameters of type IPAddressStringModifier and TypeMethodDescriptionint
IPAddressString.compareTo
(IPAddressString other) All address strings are comparable.boolean
IPAddressString.contains
(IPAddressString other) Returns whether the address subnet identified by this address string contains the address identified by the given string.boolean
IPAddress.matches
(IPAddressString otherString) boolean
IPAddressString.prefixContains
(IPAddressString other) Similar toprefixEquals(IPAddressString)
, but instead returns whether the prefix of this address contains the same of the given address, using the prefix length of this address.boolean
IPAddressString.prefixEquals
(IPAddressString other) Similar toequals(Object)
, but instead returns whether the prefix of this address matches the same of the given address, using the prefix length of this address.Constructor parameters in inet.ipaddr with type arguments of type IPAddressStringModifierConstructorDescriptionIPAddressStringGenerator
(Map<String, IPAddressString> backingMap) IPAddressStringGenerator
(Map<String, IPAddressString> backingMap, IPAddressStringParameters options) -
Uses of IPAddressString in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddressStringMethods in inet.ipaddr.format.validate with parameters of type IPAddressStringModifier and TypeMethodDescriptionHostIdentifierStringValidator.validateAddress
(IPAddressString fromString) Validator.validateAddress
(IPAddressString fromString)