public class UserAgentDetector extends java.lang.Object implements IUserAgentDetector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Constructor and Description |
---|
UserAgentDetector() |
Modifier and Type | Method and Description |
---|---|
UserAgentDetectionResult |
parseUserAgent(java.lang.String ua)
Parse a user-agent string
|
static void |
test() |
public static final java.lang.String VERSION
public UserAgentDetectionResult parseUserAgent(java.lang.String ua)
parseUserAgent
in interface IUserAgentDetector
ua
- The user agent string as sent by the browserpublic static void test()