Modifier and Type | Method and Description |
---|---|
BrowserType |
getBrowserType() |
Browser |
getGroup() |
short |
getId() |
Manufacturer |
getManufacturer() |
java.lang.String |
getName() |
RenderingEngine |
getRenderingEngine() |
Version |
getVersion(java.lang.String userAgentString)
Detects the detailed version information of the browser.
|
boolean |
isInUserAgentString(java.lang.String agentString) |
static Browser |
parseUserAgentString(java.lang.String agentString)
Iterates over all Browsers to compare the browser signature with
the user agent string.
|
static Browser |
parseUserAgentString(java.lang.String agentString,
java.util.List<Browser> browsers)
Iterates over the given Browsers (incl.
|
static Browser |
valueOf(short id)
Returns the enum constant of this type with the specified id.
|
static Browser |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Browser[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Browser OUTLOOK
public static final Browser OUTLOOK2007
public static final Browser OUTLOOK2013
public static final Browser OUTLOOK2010
public static final Browser IE
public static final Browser OUTLOOK_EXPRESS7
public static final Browser IEMOBILE9
public static final Browser IEMOBILE7
public static final Browser IEMOBILE6
public static final Browser IE11
public static final Browser IE10
public static final Browser IE9
public static final Browser IE8
public static final Browser IE7
public static final Browser IE6
public static final Browser IE5_5
public static final Browser IE5
public static final Browser CHROME
public static final Browser CHROME31
public static final Browser CHROME30
public static final Browser CHROME29
public static final Browser CHROME28
public static final Browser CHROME27
public static final Browser CHROME26
public static final Browser CHROME25
public static final Browser CHROME24
public static final Browser CHROME23
public static final Browser CHROME22
public static final Browser CHROME21
public static final Browser CHROME20
public static final Browser CHROME19
public static final Browser CHROME18
public static final Browser CHROME17
public static final Browser CHROME16
public static final Browser CHROME15
public static final Browser CHROME14
public static final Browser CHROME13
public static final Browser CHROME12
public static final Browser CHROME11
public static final Browser CHROME10
public static final Browser CHROME9
public static final Browser CHROME8
public static final Browser OMNIWEB
public static final Browser SAFARI
public static final Browser CHROME_MOBILE
public static final Browser BLACKBERRY10
public static final Browser MOBILE_SAFARI
public static final Browser SILK
public static final Browser SAFARI6
public static final Browser SAFARI5
public static final Browser SAFARI4
public static final Browser OPERA
public static final Browser OPERA_MINI
public static final Browser OPERA16
public static final Browser OPERA15
public static final Browser OPERA12
public static final Browser OPERA11
public static final Browser OPERA10
public static final Browser OPERA9
public static final Browser KONQUEROR
public static final Browser DOLFIN2
public static final Browser APPLE_WEB_KIT
public static final Browser APPLE_ITUNES
public static final Browser APPLE_APPSTORE
public static final Browser ADOBE_AIR
public static final Browser LOTUS_NOTES
public static final Browser CAMINO
public static final Browser CAMINO2
public static final Browser FLOCK
public static final Browser FIREFOX
public static final Browser FIREFOX3MOBILE
public static final Browser FIREFOX_MOBILE
public static final Browser FIREFOX_MOBILE23
public static final Browser FIREFOX26
public static final Browser FIREFOX25
public static final Browser FIREFOX24
public static final Browser FIREFOX23
public static final Browser FIREFOX22
public static final Browser FIREFOX21
public static final Browser FIREFOX20
public static final Browser FIREFOX19
public static final Browser FIREFOX18
public static final Browser FIREFOX17
public static final Browser FIREFOX16
public static final Browser FIREFOX15
public static final Browser FIREFOX14
public static final Browser FIREFOX13
public static final Browser FIREFOX12
public static final Browser FIREFOX11
public static final Browser FIREFOX10
public static final Browser FIREFOX9
public static final Browser FIREFOX8
public static final Browser FIREFOX7
public static final Browser FIREFOX6
public static final Browser FIREFOX5
public static final Browser FIREFOX4
public static final Browser FIREFOX3
public static final Browser FIREFOX2
public static final Browser FIREFOX1_5
public static final Browser THUNDERBIRD
public static final Browser THUNDERBIRD12
public static final Browser THUNDERBIRD11
public static final Browser THUNDERBIRD10
public static final Browser THUNDERBIRD8
public static final Browser THUNDERBIRD7
public static final Browser THUNDERBIRD6
public static final Browser THUNDERBIRD3
public static final Browser THUNDERBIRD2
public static final Browser SEAMONKEY
public static final Browser BOT
public static final Browser MOZILLA
public static final Browser CFNETWORK
public static final Browser EUDORA
public static final Browser POCOMAIL
public static final Browser THEBAT
public static final Browser NETFRONT
public static final Browser EVOLUTION
public static final Browser LYNX
public static final Browser DOWNLOAD
public static final Browser UNKNOWN
@Deprecated public static final Browser APPLE_MAIL
public static Browser[] values()
for (Browser c : Browser.values()) System.out.println(c);
public static Browser 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 short getId()
public java.lang.String getName()
public Version getVersion(java.lang.String userAgentString)
public BrowserType getBrowserType()
public Manufacturer getManufacturer()
public RenderingEngine getRenderingEngine()
public Browser getGroup()
public boolean isInUserAgentString(java.lang.String agentString)
public static Browser parseUserAgentString(java.lang.String agentString)
agentString
- public static Browser parseUserAgentString(java.lang.String agentString, java.util.List<Browser> browsers)
agentString
- public static Browser valueOf(short id)
id
-