Package org.eclipse.hono.util
Class Hostnames
java.lang.Object
org.eclipse.hono.util.Hostnames
Helper class for working with hostnames.
-
Method Summary
-
Method Details
-
getHostname
Return the hostname.This method tries to get the hostname of the machine. It will try different approaches.
- Returns:
- The hostname, but never
null
.
-