| Package | Description | 
|---|---|
| inet.ipaddr | |
| inet.ipaddr.ipv4 | |
| inet.ipaddr.ipv6 | 
| Modifier and Type | Method and Description | 
|---|---|
IPAddress.IPVersion | 
IPAddressString.getIPVersion()  | 
IPAddress.IPVersion | 
IPAddressSegmentSeries.getIPVersion()
Returns the version of this segment series 
 | 
abstract IPAddress.IPVersion | 
IPAddressSegment.getIPVersion()  | 
abstract IPAddress.IPVersion | 
IPAddressNetwork.getIPVersion()  | 
IPAddress.IPVersion | 
IPAddress.getIPVersion()  | 
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IPAddress | 
HostName.asAddress(IPAddress.IPVersion version)
If this represents an ip address, returns that address. 
 | 
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)  | 
IPAddressString | 
IPAddressNetwork.IPAddressStringGenerator.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)  | 
IPAddress | 
IPAddressString.getAddress(IPAddress.IPVersion version)
Similar to  
#toAddress(IPVersion), but returns null rather than throwing an exception with the address is invalid or does not match the supplied version. | 
static int | 
IPAddressSegment.getBitCount(IPAddress.IPVersion version)  | 
static int | 
IPAddress.getBitCount(IPAddress.IPVersion version)  | 
static int | 
IPAddressSegment.getByteCount(IPAddress.IPVersion version)  | 
static int | 
IPAddress.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)  | 
IPAddress | 
IPAddressString.toAddress(IPAddress.IPVersion version)
Produces the  
IPAddress 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. 
 | 
| Constructor and Description | 
|---|
PrefixLenException(java.lang.CharSequence prefixLength,
                  IPAddress.IPVersion version,
                  java.lang.Throwable cause)  | 
PrefixLenException(int prefixLength,
                  IPAddress.IPVersion version)  | 
| Modifier and Type | Method and Description | 
|---|---|
IPAddress.IPVersion | 
IPv4AddressSegment.getIPVersion()  | 
IPAddress.IPVersion | 
IPv4AddressSection.getIPVersion()  | 
IPAddress.IPVersion | 
IPv4AddressNetwork.getIPVersion()  | 
| Modifier and Type | Method and Description | 
|---|---|
IPAddress.IPVersion | 
IPv6AddressSegment.getIPVersion()  | 
IPAddress.IPVersion | 
IPv6AddressSection.getIPVersion()  | 
IPAddress.IPVersion | 
IPv6AddressNetwork.getIPVersion()  |