|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Platform.OS>
com.kenai.jffi.Platform.OS
public static enum Platform.OS
The common names of operating systems. Note The names of the enum values are used in other parts of the code to determine where to find the native stub library. Do not rename.
Enum Constant Summary | |
---|---|
AIX
IBM AIX |
|
DARWIN
MacOSX |
|
FREEBSD
FreeBSD |
|
LINUX
Linux |
|
NETBSD
NetBSD |
|
OPENBSD
OpenBSD |
|
SOLARIS
Solaris (and OpenSolaris) |
|
UNKNOWN
No idea what the operating system is |
|
WINDOWS
The evil borg operating system |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static Platform.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Platform.OS[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Platform.OS DARWIN
public static final Platform.OS FREEBSD
public static final Platform.OS NETBSD
public static final Platform.OS OPENBSD
public static final Platform.OS LINUX
public static final Platform.OS SOLARIS
public static final Platform.OS WINDOWS
public static final Platform.OS AIX
public static final Platform.OS UNKNOWN
Method Detail |
---|
public static Platform.OS[] values()
for (Platform.OS c : Platform.OS.values()) System.out.println(c);
public static Platform.OS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Platform.OS>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |