类 IpUtil
java.lang.Object
com.xxl.job.core.util.IpUtil
ip tool
- 作者:
- xuxueli 2016-5-22 11:38:05
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringgetIp()get ip addressstatic StringgetIpPort(int port) static Stringstatic InetAddressFind first valid IP from local network cardstatic Object[]parseIpPort(String address)
-
构造器详细资料
-
IpUtil
public IpUtil()
-
-
方法详细资料
-
getLocalAddress
Find first valid IP from local network card- 返回:
- first valid local IP
-
getIp
get ip address- 返回:
- String
-
getIpPort
-
getIpPort
-
parseIpPort
-