public class NetworkUtils extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
private |
NetworkUtils()
private constructor, this is a utility class
|
Modifier and Type | Method and Description |
---|---|
static String |
getHostName()
Get the HostName, if any problem attempt to get the MAC Address
|
static String |
getMacAddress()
Get the MAC Address.
|
public static String getMacAddress()
public static String getHostName()
Copyright © 2013–2014. All rights reserved.