Class IpUtil
java.lang.Object
net.sourceforge.jnlp.util.IpUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleanisLocalhostOrLoopback(String host) static booleanisLocalhostOrLoopback(URI uri) static booleanisLocalhostOrLoopback(URL url)
-
Constructor Details
-
IpUtil
public IpUtil()
-
-
Method Details
-
isLocalhostOrLoopback
-
isLocalhostOrLoopback
-
isLocalhostOrLoopback
- Parameters:
host- host string to verify- Returns:
- true if the given host string is blank or represents or resolves to the hostname or the IP address of localhost or the loopback address.
-