|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<WebUserAgentProduct.Brand>
com.guiseframework.platform.web.WebUserAgentProduct.Brand
public static enum WebUserAgentProduct.Brand
The brand of the web user agent.
| Enum Constant Summary | |
|---|---|
ALEXA
Alexa user agent. |
|
BAIDU
The Baidu spider. |
|
FIREFOX
The Firefox browser. |
|
GIGABOT
The Gigabot spider. |
|
GOOGLEBOT
The Googlebot spider. |
|
GOOGLEBOT_IMAGE
The Googlebot Image spider. |
|
INTERNET_EXPLORER
The Microsoft Internet Explorer browser. |
|
MOZILLA
A general Mozilla browser. |
|
MSNBOT
The MSNbot spider. |
|
OPERA
The Opera browser. |
|
SAFARI
The Safari browser. |
|
SCOOTER
The AltaVista Scooter spider. |
|
W3C_VALIDATOR
The W3C Validator user agent. |
|
WGET
The WGET user agent. |
|
YAHOO_MMCRAWLER
The Yahoo! MMCrawler spider. |
|
| Method Summary | |
|---|---|
static WebUserAgentProduct.Brand |
getBrand(java.lang.String userAgentName)
Retrieves a brand from a given user agent name. |
static WebUserAgentProduct.Brand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WebUserAgentProduct.Brand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final WebUserAgentProduct.Brand ALEXA
public static final WebUserAgentProduct.Brand BAIDU
public static final WebUserAgentProduct.Brand FIREFOX
public static final WebUserAgentProduct.Brand GIGABOT
public static final WebUserAgentProduct.Brand GOOGLEBOT
public static final WebUserAgentProduct.Brand GOOGLEBOT_IMAGE
public static final WebUserAgentProduct.Brand INTERNET_EXPLORER
public static final WebUserAgentProduct.Brand MOZILLA
public static final WebUserAgentProduct.Brand MSNBOT
public static final WebUserAgentProduct.Brand OPERA
public static final WebUserAgentProduct.Brand SAFARI
public static final WebUserAgentProduct.Brand SCOOTER
public static final WebUserAgentProduct.Brand W3C_VALIDATOR
public static final WebUserAgentProduct.Brand WGET
public static final WebUserAgentProduct.Brand YAHOO_MMCRAWLER
| Method Detail |
|---|
public static WebUserAgentProduct.Brand[] values()
for (WebUserAgentProduct.Brand c : WebUserAgentProduct.Brand.values()) System.out.println(c);
public static WebUserAgentProduct.Brand 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 name
java.lang.NullPointerException - if the argument is nullpublic static WebUserAgentProduct.Brand getBrand(java.lang.String userAgentName)
userAgentName - The user agent name as reported by the HTTP header.
null if the given user agent name was not recognized.
java.lang.NullPointerException - if the given user agent name is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||