public enum BrowserKind extends Enum<BrowserKind>
| Modifier and Type | Method and Description |
|---|---|
static BrowserKind |
fromString(String name) |
String |
getFullName() |
static BrowserKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrowserKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserKind CHROME
public static final BrowserKind FIREFOX
public static final BrowserKind IE
public static final BrowserKind EDGE
public static final BrowserKind OPERA
public static BrowserKind[] values()
for (BrowserKind c : BrowserKind.values()) System.out.println(c);
public static BrowserKind 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 BrowserKind fromString(String name)
public String getFullName()
Created by Kornél Simon, 2022