Class Platform


  • public class Platform
    extends java.lang.Object
    • Field Detail

      • WINDOWS_X86

        public static final Platform WINDOWS_X86
        Windows on 32-bit
      • WINDOWS_X64

        public static final Platform WINDOWS_X64
        Windows on 64-bit
      • LINUX_X86

        public static final Platform LINUX_X86
        Linux on 32-bit
      • LINUX_X64

        public static final Platform LINUX_X64
        Linux on 64-bit
      • LINUX_ARM

        public static final Platform LINUX_ARM
        Linux on ARM
      • LINUX_AARCH64

        public static final Platform LINUX_AARCH64
        Linux on AARCH64
      • OSX_X86

        public static final Platform OSX_X86
        OS X on 32-bit
      • OSX_X64

        public static final Platform OSX_X64
        OS X on 64-bit
    • Method Detail

      • getCurrent

        public static Platform getCurrent()
        Determines the current Platform based on an interpretation the results of System.getProperty("os.name") and System.getProperty("os.arch").
        Returns:
        The current Platform.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object