public class OperatingSystem
extends java.lang.Object
Constructor and Description |
---|
OperatingSystem() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasJava14()
Returns if Java 2 version 1.4 is in use.
|
static boolean |
isDOSDerived()
Returns if we're running Windows 95/98/ME/NT/2000/XP, or OS/2.
|
static boolean |
isMacOS()
Returns if we're running MacOS X.
|
static boolean |
isMacOSLF()
Returns if we're running MacOS X and using the native L&F.
|
static boolean |
isOS2()
Returns if we're running OS/2.
|
static boolean |
isUnix()
Returns if we're running Unix (this includes MacOS X).
|
static boolean |
isWindows()
Returns if we're running Windows 95/98/ME/NT/2000/XP.
|
static boolean |
isWindows9x()
Returns if we're running Windows 95/98/ME.
|
static boolean |
isWindowsNT()
Returns if we're running Windows NT/2000/XP.
|
public static final boolean isDOSDerived()
public static final boolean isWindows()
public static final boolean isWindows9x()
public static final boolean isWindowsNT()
public static final boolean isOS2()
public static final boolean isUnix()
public static final boolean isMacOS()
public static final boolean isMacOSLF()
public static final boolean hasJava14()
Copyright ? 2002 Romain Guy.