Modifier and Type | Method and Description |
---|---|
OperatingSystem |
OperatingSystem.getGroup() |
OperatingSystem |
UserAgent.getOperatingSystem() |
static OperatingSystem |
OperatingSystem.parseUserAgentLowercaseString(String agentString) |
static OperatingSystem |
OperatingSystem.parseUserAgentString(String agentString)
Parses user agent string and returns the best match.
|
static OperatingSystem |
OperatingSystem.parseUserAgentString(String agentString,
List<OperatingSystem> operatingSystems)
Parses the user agent string and returns the best match for the given operating systems.
|
static OperatingSystem |
OperatingSystem.valueOf(short id)
Returns the enum constant of this type with the specified id.
|
static OperatingSystem |
OperatingSystem.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystem[] |
OperatingSystem.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static OperatingSystem |
OperatingSystem.parseUserAgentString(String agentString,
List<OperatingSystem> operatingSystems)
Parses the user agent string and returns the best match for the given operating systems.
|
Constructor and Description |
---|
UserAgent(OperatingSystem operatingSystem,
Browser browser) |
Copyright © 2015. All rights reserved.