类 IpUtil

java.lang.Object
com.xxl.job.core.util.IpUtil

public class IpUtil extends Object
ip tool
作者:
xuxueli 2016-5-22 11:38:05
  • 构造器详细资料

    • IpUtil

      public IpUtil()
  • 方法详细资料

    • getLocalAddress

      public static InetAddress getLocalAddress()
      Find first valid IP from local network card
      返回:
      first valid local IP
    • getIp

      public static String getIp()
      get ip address
      返回:
      String
    • getIpPort

      public static String getIpPort(int port)
    • getIpPort

      public static String getIpPort(String ip, int port)
    • parseIpPort

      public static Object[] parseIpPort(String address)