public static enum Browser.BrowserName extends java.lang.Enum<Browser.BrowserName>
Enum Constant and Description |
---|
ANDROID |
BLACKBERRY |
CHROME |
FIREFOX |
IE |
IE_MOBILE |
IE10 |
IE11 |
IE7 |
IE8 |
IE9 |
IPAD |
IPHONE |
SAFARI |
Modifier and Type | Method and Description |
---|---|
Browser |
getBrowser() |
java.lang.String |
getUserAgent() |
static Browser.BrowserName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Browser.BrowserName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Browser.BrowserName FIREFOX
public static final Browser.BrowserName IE
public static final Browser.BrowserName IE7
public static final Browser.BrowserName IE8
public static final Browser.BrowserName IE9
public static final Browser.BrowserName IE10
public static final Browser.BrowserName IE11
public static final Browser.BrowserName IE_MOBILE
public static final Browser.BrowserName SAFARI
public static final Browser.BrowserName CHROME
public static final Browser.BrowserName IPAD
public static final Browser.BrowserName IPHONE
public static final Browser.BrowserName ANDROID
public static final Browser.BrowserName BLACKBERRY
public static Browser.BrowserName[] values()
for (Browser.BrowserName c : Browser.BrowserName.values()) System.out.println(c);
public static Browser.BrowserName valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Browser getBrowser()
public java.lang.String getUserAgent()
Copyright © 2001-2017 Jalios SA. All Rights Reserved.