Modifier and Type | Method and Description |
---|---|
static OsFamily |
fromString(java.lang.String familyName) |
OsType[] |
getOsTypes() |
static OsFamily |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsFamily UNKNOWN
public static final OsFamily WINDOWS
public static final OsFamily UNIX
public static final OsFamily MAC
public static OsFamily[] values()
for (OsFamily c : OsFamily.values()) System.out.println(c);
public static OsFamily 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 static OsFamily fromString(java.lang.String familyName)
public OsType[] getOsTypes()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.