public class NetworkUtil
extends java.lang.Object
| Constructor and Description |
|---|
NetworkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.net.InetAddress |
getLocalHostAddress()
Gets the InetAddress of the localhost.
|
public static java.net.InetAddress getLocalHostAddress()
throws java.net.UnknownHostException
java.net.UnknownHostException - if the local host address could not be obtainedCopyright © 2013. All Rights Reserved.