public final class HostNameUtil extends Object
public static String getHostName()
InetAddress.getLocalHost()
is tried. If that method does not
return an address with a valid host name or throws an exception,
null
is returned.null
if the host
name cannot be determined.Copyright © 2014–2016 aquenos GmbH. All rights reserved.