public enum OS extends Enum<OS>
| Enum Constant and Description |
|---|
FREE_BSD |
LINUX |
MAC_OS_X |
SOLARIS |
WINDOWS |
| Modifier and Type | Field and Description |
|---|---|
String |
formatLibNameString |
String |
osName |
| Modifier and Type | Method and Description |
|---|---|
String |
formatLibName(String libName,
int libToolInterfaceVersion)
Format the libname with the given libToolInterfaceVersion for the OS.
|
String |
toString() |
static OS |
valueOf(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 LINUX
public static final OS WINDOWS
public static final OS SOLARIS
public static final OS FREE_BSD
public static final OS MAC_OS_X
public final String osName
public final String formatLibNameString
public static OS[] values()
for (OS c : OS.values()) System.out.println(c);
public static OS valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.