public static enum OsInfo.Family extends java.lang.Enum<OsInfo.Family>
Enum Constant and Description |
---|
UNIX
Unix variants.
|
WINDOWS
Microsoft Windows.
|
Modifier and Type | Method and Description |
---|---|
static OsInfo.Family |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsInfo.Family[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsInfo.Family WINDOWS
public static final OsInfo.Family UNIX
public static OsInfo.Family[] values()
for (OsInfo.Family c : OsInfo.Family.values()) System.out.println(c);
public static OsInfo.Family 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-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.