public class Networks extends Object
构造器和说明 |
---|
Networks() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
ipOk(String ip) |
static String |
ipv4() |
static String |
ipv4(NetworkType nt) |
static String |
mac() |
static String |
mac(NetworkType nt) |
static Map<String,NetworkItem> |
networkItems() |
public static Map<String,NetworkItem> networkItems()
public static String ipv4()
public static String ipv4(NetworkType nt)
nt
- public static String mac()
public static String mac(NetworkType nt)
nt
- public static boolean ipOk(String ip)
Copyright © 2017. All rights reserved.