public static enum OsInfo.Name extends java.lang.Enum<OsInfo.Name>
| Enum Constant and Description |
|---|
LINUX
Linux.
|
MACOSX
Apple Mac OS X.
|
SOLARIS
Oracle Solaris.
|
WINDOWS
Microsoft Windows.
|
| Modifier and Type | Method and Description |
|---|---|
static OsInfo.Name |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsInfo.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsInfo.Name WINDOWS
public static final OsInfo.Name LINUX
public static final OsInfo.Name MACOSX
public static final OsInfo.Name SOLARIS
public static OsInfo.Name[] values()
for (OsInfo.Name c : OsInfo.Name.values()) System.out.println(c);
public static OsInfo.Name 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 nullCopyright © 2004-2016 FEUP-LSTS and Neptus developers. All Rights Reserved.