public final class IPAddressesUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isValidIp(String ip) |
static boolean |
isValidIpv4(String ip) |
static boolean |
isValidIpv6(String ip) |
public static boolean isValidIpv4(String ip)
ip
- a stringpublic static boolean isValidIpv6(String ip)
ip
- a stringpublic static boolean isValidIp(String ip)
ip
- a stringCopyright © 2022. All rights reserved.