- java.lang.Object
-
- org.scijava.common3.Platforms
-
public final class Platforms extends Object
Useful methods for platform-specific interrogation.- Author:
- Curtis Rueden, Johannes Schindelin
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisLinux()Whether the operating system is Linux-based.static booleanisMac()Whether the operating system is Mac-based.static booleanisPOSIX()Whether the operating system is POSIX compliant.static booleanisWindows()Whether the operating system is Windows-based.
-
-
-
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.
-
-