public abstract class NetworkUtil extends Object
| Constructor and Description |
|---|
NetworkUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostName(String address) |
static List<String> |
getIPAddresses() |
static int |
getRandomLocalPort() |
public static final List<String> getIPAddresses() throws SocketException
SocketExceptionpublic static int getRandomLocalPort()
throws IOException
IOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.