| Modifier and Type | Field and Description |
|---|---|
| private static final char | |
| public static final byte | IPV4
Represents the ipv4 |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| public static final byte | IPV6
Represents the ipv6. |
| private static final Pattern | |
| private static final Pattern | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | formatAddress(final StringBuilder buffer, final SocketAddress socketAddress)
Formats |
| public static String | |
| pack-priv static boolean | |
| public static boolean | Returns: true if the input parameter is a valid IPv4 addressthe address string to check for validity input)Checks whether the parameter is a valid IPv4 address |
| public static boolean | |
| public static boolean | Returns: true if the input parameter is a valid standard or compressed IPv6 addressthe address string to check for validity input)Checks whether the parameter is a valid IPv6 address (including compressed). |
| public static boolean | Returns: true if the input parameter is a valid compressed IPv6 addressthe address string to check for validity input)Checks whether the parameter is a valid compressed IPv6 address |
| public static boolean | Returns: true if the input parameter is a valid standard (non-compressed) IPv6 addressthe address string to check for validity input)Checks whether the parameter is a valid standard (non-compressed) IPv6 address |
| public static boolean | Returns: true if the input parameter is a valid URL-formatted bracketed IPv6 addressthe address string to check for validity input)Checks whether the parameter is a valid URL formatted bracketed IPv6 address (including compressed). |
| COLON_CHAR | back to summary |
|---|---|
| private static final char COLON_CHAR | |
| IPV4 | back to summary |
|---|---|
| public static final byte IPV4 Represents the ipv4
| |
| IPV4_BASIC_PATTERN_STRING | back to summary |
|---|---|
| private static final String IPV4_BASIC_PATTERN_STRING | |
| IPV4_MAPPED_IPV6_PATTERN | back to summary |
|---|---|
| private static final Pattern IPV4_MAPPED_IPV6_PATTERN | |
| IPV4_PATTERN | back to summary |
|---|---|
| private static final Pattern IPV4_PATTERN | |
| IPV6 | back to summary |
|---|---|
| public static final byte IPV6 Represents the ipv6.
| |
| IPV6_HEX_COMPRESSED_PATTERN | back to summary |
|---|---|
| private static final Pattern IPV6_HEX_COMPRESSED_PATTERN | |
| IPV6_STD_PATTERN | back to summary |
|---|---|
| private static final Pattern IPV6_STD_PATTERN | |
| MAX_COLON_COUNT | back to summary |
|---|---|
| private static final int MAX_COLON_COUNT | |
| InetAddressUtils | back to summary |
|---|---|
| private InetAddressUtils() | |
| formatAddress | back to summary |
|---|---|
| public static void formatAddress(final StringBuilder buffer, final SocketAddress socketAddress) Formats
| |
| getCanonicalLocalHostName | back to summary |
|---|---|
| public static String getCanonicalLocalHostName() Returns canonical name (fully qualified domain name) of the localhost.
| |
| hasValidIPv6ColonCount | back to summary |
|---|---|
| pack-priv static boolean hasValidIPv6ColonCount(final String input) | |
| isIPv4Address | back to summary |
|---|---|
| public static boolean isIPv4Address(final String input) Checks whether the parameter is a valid IPv4 address
| |
| isIPv4MappedIPv64Address | back to summary |
|---|---|
| public static boolean isIPv4MappedIPv64Address(final String input) | |
| isIPv6Address | back to summary |
|---|---|
| public static boolean isIPv6Address(final String input) Checks whether the parameter is a valid IPv6 address (including compressed).
| |
| isIPv6HexCompressedAddress | back to summary |
|---|---|
| public static boolean isIPv6HexCompressedAddress(final String input) Checks whether the parameter is a valid compressed IPv6 address
| |
| isIPv6StdAddress | back to summary |
|---|---|
| public static boolean isIPv6StdAddress(final String input) Checks whether the parameter is a valid standard (non-compressed) IPv6 address
| |
| isIPv6URLBracketedAddress | back to summary |
|---|---|
| public static boolean isIPv6URLBracketedAddress(final String input) Checks whether the parameter is a valid URL formatted bracketed IPv6 address (including compressed).
This matches only bracketed values e.g.
| |