[LANG-1297] SystemUtils.getHostName() API. Javadoc.
This commit is contained in:
parent
bd5cc81ed7
commit
a9f350eb94
|
@ -1494,7 +1494,11 @@ public class SystemUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the host name.
|
||||
* Gets the host name from an environment variable.
|
||||
*
|
||||
* <p>
|
||||
* If you want to know what the network stack says is the host name, you should use {@code InetAddress.getLocalHost().getHostName()}.
|
||||
* </p>
|
||||
*
|
||||
* @return the host name.
|
||||
* @since 3.6
|
||||
|
|
Loading…
Reference in New Issue