|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.util.OSPlatformUtil
public class OSPlatformUtil
PlatformAwareFileSystemView
Field Summary | |
---|---|
static int |
OS_AIX
Operating system is IBM AIX. |
static int |
OS_DEC
Deprecated. please use OS_TRU64 instead |
static int |
OS_HP
Operating system is HP-UX. |
static int |
OS_IRIX
Operating system is SGI IRIX. |
static int |
OS_LINUX
Operating system is Linux. |
static int |
OS_LINUX_MASK
A mask for Linux platform |
static int |
OS_MAC
Operating system is Mac. |
static int |
OS_OS2
Operating system is OS/2. |
static int |
OS_OTHER
Operating system is unknown. |
static java.lang.String |
OS_PROPERTY_NAME
|
static int |
OS_SOLARIS
Operating system is Solaris. |
static int |
OS_SUNOS
Operating system is Sun OS. |
static int |
OS_TRU64
Operating system is Compaq TRU64 Unix |
static int |
OS_UNIX_MASK
A mask for Unix platforms. |
static int |
OS_VMS
Operating system is Compaq OpenVMS |
static int |
OS_WIN_OTHER
Operating system is one of the Windows variants but we don't know which one it is |
static int |
OS_WIN2000
Operating system is Windows 2000. |
static int |
OS_WIN95
Operating system is Windows 95. |
static int |
OS_WIN98
Operating system is Windows 98. |
static int |
OS_WINDOWS_MASK
A mask for Windows platforms. |
static int |
OS_WINNT
Operating system is Windows NT. |
static int |
OS_WINXP
Operating system is Compaq OpenVMS |
Constructor Summary | |
---|---|
OSPlatformUtil()
|
Method Summary | |
---|---|
static int |
getOperatingSystem()
Get the operating system on which the IDE is running. |
static boolean |
isLinux()
Test whether the IDE is running on some variant of Unix. |
static boolean |
isUnix()
Test whether the IDE is running on some variant of Unix. |
static boolean |
isWindows()
Test whether the IDE is running on some variant of Windows. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String OS_PROPERTY_NAME
public static final int OS_WINNT
public static final int OS_WIN95
public static final int OS_WIN98
public static final int OS_SOLARIS
public static final int OS_LINUX
public static final int OS_HP
public static final int OS_AIX
public static final int OS_IRIX
public static final int OS_SUNOS
public static final int OS_TRU64
public static final int OS_DEC
public static final int OS_OS2
public static final int OS_MAC
public static final int OS_WIN2000
public static final int OS_VMS
public static final int OS_WINXP
public static final int OS_WIN_OTHER
public static final int OS_OTHER
public static final int OS_WINDOWS_MASK
public static final int OS_UNIX_MASK
public static final int OS_LINUX_MASK
Constructor Detail |
---|
public OSPlatformUtil()
Method Detail |
---|
public static final int getOperatingSystem()
OS_*
constants (such as OS_WINNT
)public static final boolean isWindows()
true
if Windows, false
if some other manner of operating systempublic static final boolean isUnix()
true
some sort of Unix, false
if some other manner of operating systempublic static final boolean isLinux()
true
some sort of Unix, false
if some other manner of operating system
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |