public static enum Utilities.OperatingSystem extends Enum<Utilities.OperatingSystem>
Modifier and Type | Method and Description |
---|---|
static Utilities.OperatingSystem |
getCurrentOperatingSystem() |
static Set<Utilities.OperatingSystem> |
getCurrentOperatingSystemAsAHashSet() |
static Utilities.OperatingSystem |
getOperatingSystem(String osName) |
String |
getOperatingSystemDir() |
String |
getOperatingSystemName() |
String |
getSuffixBinary() |
static Utilities.OperatingSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utilities.OperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utilities.OperatingSystem WINDOWS
public static final Utilities.OperatingSystem LINUX
public static final Utilities.OperatingSystem MAC
public static Utilities.OperatingSystem[] values()
for (Utilities.OperatingSystem c : Utilities.OperatingSystem.values()) System.out.println(c);
public static Utilities.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 Utilities.OperatingSystem getOperatingSystem(String osName)
public static Set<Utilities.OperatingSystem> getCurrentOperatingSystemAsAHashSet()
public static Utilities.OperatingSystem getCurrentOperatingSystem()
public String getOperatingSystemName()
public String getOperatingSystemDir()
public String getSuffixBinary()
Copyright © 2023 NoraUi. All rights reserved.