| Enum Constant and Description |
|---|
Linux |
MacOSX |
Unix |
Unknown |
Windows |
| Modifier and Type | Method and Description |
|---|---|
static OS.OsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OS.OsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OS.OsType MacOSX
public static final OS.OsType Unix
public static final OS.OsType Linux
public static final OS.OsType Windows
public static final OS.OsType Unknown
public static OS.OsType[] values()
for (OS.OsType c : OS.OsType.values()) System.out.println(c);
public static OS.OsType 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 null