public class NetworkUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getLocalIp()
Returns the non-loopback IP address of the local host or
null
if none is available. |
static URI |
getUri(String url)
Returns a
URI object of the input URL. |
static URL |
getUrl(String url)
Returns a
URL object of the input URL. |
public static String getLocalIp()
null
if none is available.Copyright © 2014. All rights reserved.