public final class NetUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getLocalHostname()
This method gets the network name of the machine we are running on.
|
static URI |
toURI(String path)
Converts a URI string or file path to a URI object.
|
public static String getLocalHostname()
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.