public class OsUtils extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
HP
True iff running on HP.
|
static boolean |
LINUX
True iff running on Linux.
|
static boolean |
MAC
True iff running on Mac.
|
static String |
OS_NAME
The value of System.getProperty("os.name").
|
static boolean |
SOLARIS
True iff running on SunOS.
|
static boolean |
WINDOWS
True iff running on Windows.
|
public static final String OS_NAME
public static final boolean LINUX
public static final boolean WINDOWS
public static final boolean SOLARIS
public static final boolean MAC
public static final boolean HP
Copyright © 2009–2015. All rights reserved.