Class 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-bit
      static boolean isLinux()
      Returns true if running on Linux
      static boolean isMacOSX()
      Returns true if running on Mac OS X
      static boolean isWebStart()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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()