public enum BrowserType extends java.lang.Enum<BrowserType>
Enum Constant and Description |
---|
CONSOLE
Consoles
|
CRAWLER
Web Crawlers
|
DESKTOP
Desktops
|
EMAIL
Email clients
|
FEED_READER
Feed readers, such as RSS feeds
|
LIBRARY
Things like cURL and wGet
|
MOBILE
Mobile browsers
|
UNKNOWN
Unsure what it's from
|
VALIDATOR
Services used for validating page html and links
|
Modifier and Type | Method and Description |
---|---|
static BrowserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrowserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserType MOBILE
public static final BrowserType DESKTOP
public static final BrowserType CONSOLE
public static final BrowserType CRAWLER
public static final BrowserType EMAIL
public static final BrowserType VALIDATOR
public static final BrowserType FEED_READER
public static final BrowserType LIBRARY
public static final BrowserType UNKNOWN
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType 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 null