Class Platforms


  • public final class Platforms
    extends Object
    Useful methods for platform-specific interrogation.
    Author:
    Curtis Rueden, Johannes Schindelin
    • Method Detail

      • isWindows

        public static boolean isWindows()
        Whether the operating system is Windows-based.
      • isMac

        public static boolean isMac()
        Whether the operating system is Mac-based.
      • isLinux

        public static boolean isLinux()
        Whether the operating system is Linux-based.
      • isPOSIX

        public static boolean isPOSIX()
        Whether the operating system is POSIX compliant.