Package org.omegat.util
Class Platform
- java.lang.Object
-
- org.omegat.util.Platform
-
public final class Platform extends java.lang.Object
A class to retrieve some platform information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Platform.OsType
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getJavaVersion()
static Platform.OsType
getOsType()
static boolean
is64Bit()
Returns true if the JVM (NOT the OS) is 64-bitstatic boolean
isLinux()
Returns true if running on Linuxstatic boolean
isMacOSX()
Returns true if running on Mac OS Xstatic boolean
isWebStart()
-
-
-
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()
-
-