Modifier and Type | Method and Description |
---|---|
Browser |
UserAgent.getBrowser() |
Browser |
Browser.getGroup() |
static Browser |
Browser.parseUserAgentString(java.lang.String agentString)
Iterates over all Browsers to compare the browser signature with
the user agent string.
|
static Browser |
Browser.parseUserAgentString(java.lang.String agentString,
java.util.List<Browser> browsers)
Iterates over the given Browsers (incl.
|
static Browser |
Browser.valueOf(short id)
Returns the enum constant of this type with the specified id.
|
static Browser |
Browser.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Browser[] |
Browser.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Browser |
Browser.parseUserAgentString(java.lang.String agentString,
java.util.List<Browser> browsers)
Iterates over the given Browsers (incl.
|
Constructor and Description |
---|
UserAgent(OperatingSystem operatingSystem,
Browser browser) |