public enum OperatingSystem extends Enum<OperatingSystem>
Enum Constant and Description |
---|
MAC
Mac OperatingSystem.
|
SOLARIS
Sun solaris.
|
UNIX
Unix family.
|
UNKNOWN
Unknown system.
|
WINDOWS
Window family.
|
Modifier and Type | Method and Description |
---|---|
static Architecture |
getArchitecture()
Get java current running architecture.
|
static OperatingSystem |
getOperatingSystem()
Get operating system name.
|
static OperatingSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystem WINDOWS
public static final OperatingSystem UNIX
public static final OperatingSystem MAC
public static final OperatingSystem SOLARIS
public static final OperatingSystem UNKNOWN
public static OperatingSystem[] values()
for (OperatingSystem c : OperatingSystem.values()) System.out.println(c);
public static OperatingSystem 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 nullpublic static OperatingSystem getOperatingSystem()
public static Architecture getArchitecture()
Copyright © 2014 Byron 3D Games Studio. All rights reserved.