public static enum OsInfo.OS extends Enum<OsInfo.OS>
Enum Constant and Description |
---|
MAC |
OTHER |
POSIX_UNIX |
UNIX |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
static OsInfo.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OsInfo.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsInfo.OS WINDOWS
public static final OsInfo.OS UNIX
public static final OsInfo.OS POSIX_UNIX
public static final OsInfo.OS MAC
public static final OsInfo.OS OTHER
public static OsInfo.OS[] values()
for (OsInfo.OS c : OsInfo.OS.values()) System.out.println(c);
public static OsInfo.OS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.