public class Systems extends Object
| 构造器和说明 |
|---|
Systems() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
availableProcessors()
获取可用处理器的数目
|
static long |
freeMemory() |
static String |
getExtranetIpV4()
获得外网IP
|
static String[] |
getFontNames() |
static Font[] |
getFonts() |
static String |
getPid()
获取进程号
|
static String |
getProperty_fileEncoding() |
static String |
getProperty_tmp()
By default this value should come from the TMP environment variable on Windows systems
|
static String |
getProperty_userDir()
用户的当前工作目录
|
static String |
getProperty(String key) |
static Font |
getSelfDefinedFont(File ttlFont,
int style,
float size) |
static boolean |
is64bit()
判断是否是64bit
|
static boolean |
isWindows()
判断是否是windows
|
static void |
loadJNILibDynamically()
刷新java.library.path
|
static long |
maxMemory() |
static void |
println_SystemProperty() |
static void |
setlog4j_skipJansi()
设置log4j 颜色不好使的问题
|
static long |
totalMemory() |
public static void println_SystemProperty()
public static String getProperty_fileEncoding()
public static String getProperty_tmp()
public static String getProperty_userDir()
public static int availableProcessors()
public static long freeMemory()
public static long totalMemory()
public static long maxMemory()
public static String getPid()
public static boolean isWindows()
public static boolean is64bit()
public static void loadJNILibDynamically()
public static void setlog4j_skipJansi()
public static String getExtranetIpV4()
public static String[] getFontNames()
public static Font[] getFonts()
Copyright © 2020. All rights reserved.