public class ComputerUtilities
extends java.lang.Object
构造器和说明 |
---|
ComputerUtilities() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
getComputerName()
获取计算机名
|
static java.lang.String |
getIp()
获取计算机IP
|
static java.lang.String |
getUserDomain()
获取计算机用户域名
|
static java.lang.String |
getUserName()
获取计算机用户名
|
public static java.lang.String getUserName()
public static java.lang.String getComputerName()
public static java.lang.String getUserDomain()
public static java.lang.String getIp()