public static enum Platform.OS_TYPE extends java.lang.Enum<Platform.OS_TYPE>
| Enum Constant and Description |
|---|
AIX |
DARWIN |
FREEBSD |
LINUX |
NETBSD |
OPENBSD |
SOLARIS |
UNKNOWN |
WINDOWS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Platform.OS_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Platform.OS_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.OS_TYPE DARWIN
public static final Platform.OS_TYPE FREEBSD
public static final Platform.OS_TYPE NETBSD
public static final Platform.OS_TYPE OPENBSD
public static final Platform.OS_TYPE LINUX
public static final Platform.OS_TYPE SOLARIS
public static final Platform.OS_TYPE AIX
public static final Platform.OS_TYPE WINDOWS
public static final Platform.OS_TYPE UNKNOWN
public static Platform.OS_TYPE[] values()
for (Platform.OS_TYPE c : Platform.OS_TYPE.values()) System.out.println(c);
public static Platform.OS_TYPE 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Platform.OS_TYPE>Copyright © 2002-2009 JRuby Team. All Rights Reserved.