public enum BrowserName extends Enum<BrowserName>
Enum Constant and Description |
---|
CHROME
Chrome.
|
FF
Firefox.
|
IE
Internet Explorer.
|
Modifier and Type | Method and Description |
---|---|
static BrowserName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrowserName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserName CHROME
public static final BrowserName IE
public static final BrowserName FF
public static BrowserName[] values()
for (BrowserName c : BrowserName.values()) System.out.println(c);
public static BrowserName 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 © 2002–2019 Gargoyle Software Inc.. All rights reserved.