public enum PlatformEnum extends Enum<PlatformEnum>
Enum Constant and Description |
---|
FREEBSD
FreeBSD
|
LINUX
A flavor of Linux
|
MACOSX
macOS (OS X)
|
SOLARIS
Solaris (SunOS)
|
UNKNOWN
OpenBSD, WindowsCE, or an unspecified system
|
WINDOWS
Microsoft Windows
|
Modifier and Type | Method and Description |
---|---|
static PlatformEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformEnum WINDOWS
public static final PlatformEnum LINUX
public static final PlatformEnum MACOSX
public static final PlatformEnum SOLARIS
public static final PlatformEnum FREEBSD
public static final PlatformEnum UNKNOWN
public static PlatformEnum[] values()
for (PlatformEnum c : PlatformEnum.values()) System.out.println(c);
public static PlatformEnum 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 © 2010–2020 oshi. All rights reserved.