public class IPAddressUtil extends Object
| Constructor and Description | 
|---|
| IPAddressUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static byte[] | convertFromIPv4MappedAddress(byte[] addr) | 
| static boolean | isIPv4LiteralAddress(String src) | 
| static boolean | isIPv6LiteralAddress(String src) | 
| static byte[] | textToNumericFormatV4(String src) | 
| static byte[] | textToNumericFormatV6(String src) | 
@Nullable public static byte[] convertFromIPv4MappedAddress(byte[] addr)
public static boolean isIPv4LiteralAddress(String src)
src - a String representing an IPv4 address in textual formatpublic static boolean isIPv6LiteralAddress(String src)
src - a String representing an IPv6 address in textual format