类 Platforms
java.lang.Object
net.apexes.commons.lang.Platforms
- 作者:
- HeDYn
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Platforms
public Platforms()
-
-
方法详细资料
-
getPlatform
Returns the platform name. This could be for example "linux-x86" or "windows-x86_64".- 返回:
- The architecture name. Never null.
-
getOS
Returns the operating system name. This could be "linux", "windows" or "macos" or (for any other non-supported platform) the value of the "os.name" property converted to lower case and with removed space characters.- 返回:
- The operating system name.
-
getArch
Returns the CPU architecture. This will be "x86" or "x86_64" (Platform names i386 und amd64 are converted accordingly) or (when platform is unsupported) the value of os.arch converted to lower-case and with removed space characters.- 返回:
- The CPU architecture
-