public static enum UniversalUtils.OS extends Enum<UniversalUtils.OS>
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset() |
static UniversalUtils.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UniversalUtils.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniversalUtils.OS WINDOWS
public static final UniversalUtils.OS MAC
public static final UniversalUtils.OS LINUX
public static final UniversalUtils.OS SOLARIS
public static final UniversalUtils.OS OTHER
public static UniversalUtils.OS[] values()
for (UniversalUtils.OS c : UniversalUtils.OS.values()) System.out.println(c);
public static UniversalUtils.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 nullpublic Charset getCharset()