public class NetworkUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OVERWRITE_HOSTNAME_SYSTEM_PROPERTY |
Constructor and Description |
---|
NetworkUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getLocalhostName() |
static String[] |
getLocalHostNames() |
static boolean |
hostNameInArray(String[] hostNames,
String hostName) |
static int |
hostNamesInList(String serverList,
String[] hostNames) |
static boolean |
isPortFree(int port) |
public static final String OVERWRITE_HOSTNAME_SYSTEM_PROPERTY
Copyright © 2019. All rights reserved.