| Enum Constant and Description |
|---|
ANDROID |
DARWIN |
DRAGONFLY |
FREEBSD |
LINUX |
NACL |
NETBSD |
OPENBSD |
PLAN9 |
SOLARIS |
WINDOWS |
ZOS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
archiveExtension() |
java.lang.String |
exeExtension() |
static Os |
getHostOs() |
static Os |
of(java.lang.String lowercase) |
java.lang.String |
toString() |
static Os |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Os[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Os ANDROID
public static final Os DARWIN
public static final Os DRAGONFLY
public static final Os FREEBSD
public static final Os LINUX
public static final Os NACL
public static final Os NETBSD
public static final Os OPENBSD
public static final Os PLAN9
public static final Os SOLARIS
public static final Os WINDOWS
public static final Os ZOS
public static Os[] values()
for (Os c : Os.values()) System.out.println(c);
public static 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 java.lang.String toString()
toString in class java.lang.Enum<Os>public java.lang.String exeExtension()
public java.lang.String archiveExtension()
public static Os getHostOs()
public static Os of(java.lang.String lowercase)