Modifier and Type | Class and Description |
---|---|
class |
AbstractIPRange<IP extends IPAddress<IP>>
A skeleton implementation of the
IPRange interface. |
class |
IPAddress<IP extends IPAddress<IP>>
Represents an IP address.
|
class |
IPAddressFormat<IP extends IPAddress<?>>
A class for formatting and parsing IP addresses.
|
class |
IPAddressFormatter<IP extends IPAddress<?>>
Formatter for printing and parsing IP addresses.
|
static class |
IPAddressFormatter.Builder<IP extends IPAddress<?>>
A builder for formatters for printing and parsing IP addresses.
|
interface |
IPRange<IP extends IPAddress<IP>>
Represents a range of consecutive IP addresses.
|
class |
IPRangeSpliterator<IP extends IPAddress<IP>>
A spliterator for IP ranges.
|
class |
Subnet<IP extends IPAddress<IP>>
Represents a subnet of IP addresses.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
Represents an IPv4 address.
|
class |
IPv6Address
Represents an IPv6 address.
|
Modifier and Type | Method and Description |
---|---|
static IPAddress<?> |
IPAddress.valueOf(byte[] address)
Returns an IP address from a byte array representation of the address.
|
static IPAddress<?> |
IPAddress.valueOf(CharSequence address)
Returns an IP address represented by a
CharSequence . |
static IPAddress<?> |
IPAddress.valueOf(CharSequence address,
int start,
int end)
Returns an IP address represented by a portion of a
CharSequence . |
static IPAddress<?> |
IPAddress.valueOf(InetAddress address)
Returns an IP address represented by a
InetAddress . |
Modifier and Type | Method and Description |
---|---|
static IPAddressFormatter.Builder<IPAddress<?>> |
IPAddressFormatter.anyVersion()
Returns a new builder for formatters for printing and parsing IP addresses of any version.
|
static IPAddressFormatter<IPAddress<?>> |
IPAddressFormatter.anyVersionWithDefaults()
Returns a formatter for printing and parsing IP addresses of any version.
|
static Optional<IPAddress<?>> |
IPAddress.tryValueOf(CharSequence address)
Attempts to return an IP address represented by a
CharSequence . |
static Optional<IPAddress<?>> |
IPAddress.tryValueOf(CharSequence address,
int start,
int end)
Attempts to return an IP address represented by a portion of a
CharSequence . |
Modifier and Type | Method and Description |
---|---|
static Subnet<?> |
Subnet.valueOf(IPAddress<?> routingPrefix,
int prefixLength)
Returns a subnet represented by a routing prefix and a prefix length.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<CharSequence> |
IPAddress.ifValidIPAddress(Predicate<? super IPAddress<?>> predicate)
Returns a predicate that checks whether or not
CharSequence s are valid IP addresses that match a specific predicate. |
Copyright © 2019–2023. All rights reserved.