|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.util.Platform
public class Platform
Enumerated ordinal type for platform. Includes VM specifiers. DAP TODO: Obviously this class should have a static method that selects the appropriate instance of itself from the list based on VM and OS data, easily gathered from XPSystem (note that JRockit can be detected because of its unique implementation of UrlFactory, as can Jikes)
Field Summary | |
---|---|
static Platform |
AIX32
|
static Platform |
ALL
|
static Platform |
DOTNET
|
static Platform |
HPUX
|
static Platform |
JAVA
|
static Platform |
LINUX32_REDHAT
|
static Platform |
LINUX32_REDHAT_JROCKIT
|
static Platform |
LINUX32_SUSE
|
static Platform |
LINUX32_SUSE_JROCKIT
|
int |
m_id
|
java.lang.String |
m_name
|
static Platform |
MAC
|
static Platform |
MACOSX
|
static Platform[] |
platformList
|
static Platform |
SOLARIS32_SUNJVM
|
static Platform |
SOLARIS32_X86_SUNJVM
|
static Platform |
UNIDENTIFIED_UNIX
|
static Platform |
WIN32_DOTNET
|
static Platform |
WIN32_JAVA
|
Method Summary | |
---|---|
static Platform |
getCurPlatform()
Determine the current platform we are running on. |
java.lang.String |
getName()
|
static Platform |
getPlatform(int id)
Determines platform by ID. |
boolean |
isAIX()
Determines platform flavor |
boolean |
isCurrentPlatformSupported()
Checks for whether or not this platform is supported. |
boolean |
isDotnet()
Determines platform flavor |
boolean |
isHPUX()
Determines platform flavor |
boolean |
isIbmVM()
Checks vm vendor |
boolean |
isJava()
Determines platform flavor |
boolean |
isJRockitVM()
Checks vm vendor |
boolean |
isLinux()
Determines platform flavor |
boolean |
isMacOSX()
Determines platform flavor |
static boolean |
isPlatformAnyDotnet(Platform platform)
Determines platform flavor, static helper. |
static boolean |
isPlatformAnyJava(Platform platform)
Determines platform flavor, static helper. |
boolean |
isSolaris()
Determines platform flavor |
boolean |
isSunVM()
Checks vm vendor |
boolean |
isWindows()
Determines platform flavor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int m_id
public java.lang.String m_name
public static final Platform ALL
public static final Platform JAVA
public static final Platform DOTNET
public static final Platform WIN32_DOTNET
public static final Platform WIN32_JAVA
public static final Platform LINUX32_SUSE
public static final Platform LINUX32_REDHAT
public static final Platform AIX32
public static final Platform SOLARIS32_SUNJVM
public static final Platform SOLARIS32_X86_SUNJVM
public static final Platform LINUX32_REDHAT_JROCKIT
public static final Platform LINUX32_SUSE_JROCKIT
public static final Platform MAC
public static final Platform MACOSX
public static final Platform HPUX
public static final Platform UNIDENTIFIED_UNIX
public static Platform[] platformList
Method Detail |
---|
public static Platform getPlatform(int id)
id
-
public java.lang.String getName()
public boolean isJava()
platform
-
public boolean isDotnet()
platform
-
public boolean isWindows()
platform
-
public boolean isLinux()
platform
-
public boolean isHPUX()
platform
-
public boolean isMacOSX()
platform
-
public boolean isAIX()
platform
-
public boolean isSolaris()
platform
-
public static boolean isPlatformAnyJava(Platform platform)
platform
-
public static boolean isPlatformAnyDotnet(Platform platform)
platform
-
public static Platform getCurPlatform()
public boolean isCurrentPlatformSupported()
public boolean isJRockitVM()
public boolean isSunVM()
public boolean isIbmVM()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |