|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.platform.XPOSFamily
public class XPOSFamily
Enumerated ordinal type for OS family.
Field Summary | |
---|---|
int |
m_id
ID to identify a XPOSFamily object. |
java.lang.String |
m_name
String value for XPOSFamily object. |
static XPOSFamily |
OLDMAC
Predefined XPOSFamily object for Macintosh System 9. |
static XPOSFamily[] |
platformList
XPOSFamily object array for predefined static values. |
static XPOSFamily |
UNIX
Predefined XPOSFamily object for Unix-based OS. |
static XPOSFamily |
WINDOWS
Predefined XPOSFamily object for Windows-based OS. |
Method Summary | |
---|---|
boolean |
equals(XPOSFamily osFamily)
Compare if two XPOSFamily instances are same using their IDs. |
java.lang.String |
GetName()
Return the string value of current XPOSFamily instance. |
static XPOSFamily |
GetOSFamily()
Get XPOSFamily object of current OS by invoking static methods from XPOperatingSystem. |
static XPOSFamily |
GetOSFamily(int id)
Gets OS family by ID. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int m_id
public java.lang.String m_name
public static final XPOSFamily WINDOWS
public static final XPOSFamily UNIX
public static final XPOSFamily OLDMAC
public static XPOSFamily[] platformList
Method Detail |
---|
public static XPOSFamily GetOSFamily(int id)
id
- ID for expected XPOSFamily.
public java.lang.String GetName()
public boolean equals(XPOSFamily osFamily)
osFamily
- XPOSFamily object used to compared with current instance.
public java.lang.String toString()
toString
in class java.lang.Object
public static XPOSFamily GetOSFamily()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |