public class IpUtil extends Object
| Constructor and Description |
|---|
IpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostName() |
static InetAddress |
getLocalHostLanAddress() |
static String |
getLocalIp() |
public static InetAddress getLocalHostLanAddress() throws Exception
Exceptionpublic static String getLocalIp()
public static String getHostName()
Copyright © 2006–2018 TinyGroup. All rights reserved.