public final class PlatformUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isLinux()
Whether the operating system is Linux-based.
|
static boolean |
isMac()
Whether the operating system is Mac-based.
|
static boolean |
isPOSIX()
Whether the operating system is POSIX compliant.
|
static boolean |
isWindows()
Whether the operating system is Windows-based.
|
static String |
osName()
Gets the name of the operating system.
|
public static boolean isWindows()
public static boolean isMac()
public static boolean isLinux()
public static boolean isPOSIX()
public static String osName()
Copyright © 2015–2022 SciJava. All rights reserved.