Enum Constant and Description |
---|
LINUX |
OSX |
SOLARIS |
UNKNOWN |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
getOpenCommandLine(java.net.URL url) |
void |
openFile(java.io.File fileIn) |
void |
openURI(java.lang.String uri) |
void |
openURI(java.net.URI uri) |
void |
openURL(java.net.URL url) |
static Util.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Util.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Util.OS LINUX
public static final Util.OS SOLARIS
public static final Util.OS WINDOWS
public static final Util.OS OSX
public static final Util.OS UNKNOWN
public static Util.OS[] values()
for (Util.OS c : Util.OS.values()) System.out.println(c);
public static Util.OS 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 nullpublic void openURL(java.net.URL url)
public void openURI(java.net.URI uri)
public void openFile(java.io.File fileIn)
protected java.lang.String[] getOpenCommandLine(java.net.URL url)
public void openURI(java.lang.String uri)