Package org.omegat.util
Class Platform
- java.lang.Object
-
- org.omegat.util.Platform
-
public final class Platform extends java.lang.ObjectA class to retrieve some platform information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlatform.OsType
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetJavaVersion()static Platform.OsTypegetOsType()static booleanis64Bit()Returns true if the JVM (NOT the OS) is 64-bitstatic booleanisLinux()Returns true if running on Linuxstatic booleanisMacOSX()Returns true if running on Mac OS Xstatic booleanisWebStart()
-
-
-
Method Detail
-
getOsType
public static Platform.OsType getOsType()
-
isWebStart
public static boolean isWebStart()
-
isMacOSX
public static boolean isMacOSX()
Returns true if running on Mac OS X
-
isLinux
public static boolean isLinux()
Returns true if running on Linux
-
is64Bit
public static boolean is64Bit()
Returns true if the JVM (NOT the OS) is 64-bit
-
getJavaVersion
public static int getJavaVersion()
-
-