public static enum DefaultDesktopOpen.EnumOS extends Enum<DefaultDesktopOpen.EnumOS>
Enum Constant and Description |
---|
linux |
macos |
solaris |
unknown |
windows |
Modifier and Type | Method and Description |
---|---|
boolean |
isLinux() |
boolean |
isMac() |
boolean |
isWindows() |
static DefaultDesktopOpen.EnumOS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDesktopOpen.EnumOS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultDesktopOpen.EnumOS linux
public static final DefaultDesktopOpen.EnumOS macos
public static final DefaultDesktopOpen.EnumOS solaris
public static final DefaultDesktopOpen.EnumOS unknown
public static final DefaultDesktopOpen.EnumOS windows
public static DefaultDesktopOpen.EnumOS[] values()
for (DefaultDesktopOpen.EnumOS c : DefaultDesktopOpen.EnumOS.values()) System.out.println(c);
public static DefaultDesktopOpen.EnumOS 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 boolean isLinux()
public boolean isMac()
public boolean isWindows()