Class Platform


  • public final class Platform
    extends java.lang.Object
    Utility class providing functions to determine Java platform type and capabilities.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean IS_LINUX
      Operating System: Linux
      static boolean IS_MACOS
      Operating System: macOS
      static boolean IS_WINDOWS
      Operating System: Windows
      static java.lang.String SYSTEM_OS_ARCH
      System property: "os.arch"
      static java.lang.String SYSTEM_OS_NAME
      System property: "os.name"
      static java.lang.String SYSTEM_OS_VERSION
      System property: "os.version"
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SYSTEM_OS_ARCH

        public static final java.lang.String SYSTEM_OS_ARCH
        System property: "os.arch"
      • SYSTEM_OS_NAME

        public static final java.lang.String SYSTEM_OS_NAME
        System property: "os.name"
      • SYSTEM_OS_VERSION

        public static final java.lang.String SYSTEM_OS_VERSION
        System property: "os.version"
      • IS_LINUX

        public static final boolean IS_LINUX
        Operating System: Linux
      • IS_MACOS

        public static final boolean IS_MACOS
        Operating System: macOS
      • IS_WINDOWS

        public static final boolean IS_WINDOWS
        Operating System: Windows