public static enum OSUtils.OS extends Enum<OSUtils.OS>
Enum Constant and Description |
---|
linux |
mac |
other |
solaris |
sunos |
unix |
windows |
Modifier and Type | Method and Description |
---|---|
static OSUtils.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSUtils.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSUtils.OS windows
public static final OSUtils.OS linux
public static final OSUtils.OS sunos
public static final OSUtils.OS solaris
public static final OSUtils.OS mac
public static final OSUtils.OS unix
public static final OSUtils.OS other
public static OSUtils.OS[] values()
for (OSUtils.OS c : OSUtils.OS.values()) System.out.println(c);
public static OSUtils.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 © 2019 "Tigase, Inc.". All rights reserved.