|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectOsDetection
public class OsDetection
| Field Summary | |
|---|---|
static String |
OS_LINUX
OS id string for LINUX. |
static String |
OS_WINDOWS_VISTA
OS id string for Windows Vista. |
| Constructor Summary | |
|---|---|
OsDetection()
|
|
| Method Summary | |
|---|---|
static boolean |
operatingSystemIs(String osId)
This method returns true if the id string of the current operating system matches the given one. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OS_LINUX
public static final String OS_WINDOWS_VISTA
| Constructor Detail |
|---|
public OsDetection()
| Method Detail |
|---|
public static boolean operatingSystemIs(String osId)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||