public static enum Util.OperatingSystem extends Enum<Util.OperatingSystem>
Enum Constant and Description |
---|
LINUX |
OSX |
SOLARIS |
UNKNOWN |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getURLOpenCommand(URL url) |
void |
open(File file) |
void |
open(String string) |
void |
open(URI uRI) |
void |
open(URL url) |
static Util.OperatingSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Util.OperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.OperatingSystem LINUX
public static final Util.OperatingSystem SOLARIS
public static final Util.OperatingSystem WINDOWS
public static final Util.OperatingSystem OSX
public static final Util.OperatingSystem UNKNOWN
public static Util.OperatingSystem[] values()
for (Util.OperatingSystem c : Util.OperatingSystem.values()) System.out.println(c);
public static Util.OperatingSystem 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 null@Environment(value=CLIENT) public void open(URL url)
@Environment(value=CLIENT) public void open(URI uRI)
@Environment(value=CLIENT) public void open(File file)
@Environment(value=CLIENT) public void open(String string)