public class IPUtil
extends java.lang.Object
Constructor and Description |
---|
IPUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSiteLocalAddress(java.net.InetAddress i)
Check if address is in site-local range.
|
static boolean |
isValidAddress(java.net.InetAddress i,
boolean includeLocalAddressesInNoderefs) |
public static boolean isSiteLocalAddress(java.net.InetAddress i)
public static boolean isValidAddress(java.net.InetAddress i, boolean includeLocalAddressesInNoderefs)
i
- includeLocalAddressesInNoderefs
-