Uses of Class
inet.ipaddr.IPAddressString
-
Packages that use IPAddressString 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 IPAddressString in inet.ipaddr
Methods in inet.ipaddr that return IPAddressString Modifier and Type Method Description IPAddressString
IPAddressString. adjustPrefixBySegment(boolean nextSegment)
Increases or decreases prefix length to the next segment boundary of the given address version's standard segment boundaries.IPAddressString
IPAddressString. adjustPrefixLength(int adjustment)
Increases or decreases prefix length by the given increment.IPAddressString
HostName. asAddressString()
If this represents an ip address or represents any valid IPAddressString, returns the corresponding address string.IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(byte[] bytes)
IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(Address.AddressValueProvider addressProvider)
IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength, java.lang.CharSequence zone)
IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(IPAddress.IPAddressValueProvider addressProvider)
IPAddressString
IPAddressNetwork.IPAddressStringGenerator. get(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefixLength)
IPAddressString
IPAddress. toAddressString()
Generates an IPAddressString object for this IPAddress object.Methods in inet.ipaddr with parameters of type IPAddressString Modifier and Type Method Description int
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 IPAddressString Constructor Description IPAddressStringGenerator(java.util.Map<java.lang.String,IPAddressString> backingMap)
IPAddressStringGenerator(java.util.Map<java.lang.String,IPAddressString> backingMap, IPAddressStringParameters options)
-
Uses of IPAddressString in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddressString Modifier and Type Method Description IPAddressString
ParsedHost. asGenericAddressString()
Methods in inet.ipaddr.format.validate with parameters of type IPAddressString Modifier and Type Method Description IPAddressProvider
HostIdentifierStringValidator. validateAddress(IPAddressString fromString)
IPAddressProvider
Validator. validateAddress(IPAddressString fromString)
-