public static enum SystemUtils.EOperatingSystem extends java.lang.Enum<SystemUtils.EOperatingSystem>
Enum Constant and Description |
---|
LINUX
Identifies a Linux operating system.
|
MAC
Identifies an Apple Mac operating system.
|
UNKNOWN
Identifies an unknown operating system.
|
WINDOWS
Identifies a Microsoft Windows operating system.
|
Modifier and Type | Method and Description |
---|---|
static SystemUtils.EOperatingSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemUtils.EOperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemUtils.EOperatingSystem WINDOWS
public static final SystemUtils.EOperatingSystem LINUX
public static final SystemUtils.EOperatingSystem MAC
public static final SystemUtils.EOperatingSystem UNKNOWN
public static SystemUtils.EOperatingSystem[] values()
for (SystemUtils.EOperatingSystem c : SystemUtils.EOperatingSystem.values()) System.out.println(c);
public static SystemUtils.EOperatingSystem 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