public static enum OSDetector.OsType extends Enum<OSDetector.OsType>
| Modifier and Type | Method | Description |
|---|---|---|
static OSDetector.OsType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OSDetector.OsType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSDetector.OsType WINDOWS
public static final OSDetector.OsType UBUNTU
public static final OSDetector.OsType MAC_OS
public static OSDetector.OsType[] values()
for (OSDetector.OsType c : OSDetector.OsType.values()) System.out.println(c);
public static OSDetector.OsType 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 © 2025. All rights reserved.