@Deprecated public class OnlineUpdateUASparser extends UASparser
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
currentVersion
Deprecated.
|
protected static java.lang.String |
DATA_RETRIVE_URL
Deprecated.
|
protected long |
lastUpdateCheck
Deprecated.
|
protected static long |
UPDATE_INTERVAL
Deprecated.
|
protected static java.lang.String |
VERSION_CHECK_URL
Deprecated.
|
browserMap, browserOsMap, browserRegMap, browserTypeMap, compiledBrowserRegMap, compiledDeviceRegMap, compiledOsRegMap, deviceMap, deviceRegMap, osMap, osRegMap, robotsMap, unknownAgentInfo| Constructor and Description |
|---|
OnlineUpdateUASparser()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDataMaps()
Deprecated.
Since we've online access to the data file, we check every day for an update
|
protected java.lang.String |
getVersionFromServer()
Deprecated.
Gets the current version from user-agent-string.info
|
convertPerlToJavaRegex, createInternalDataStructure, guessDeviceType, loadDataFromFile, loadDataFromFile, parse, parseBrowserOnly, preCompileBrowserRegMap, preCompileDeviceRegMap, preCompileOsRegMap, preCompileRegExes, processBrowserRegex, processDeviceRegex, processOsRegex, processRobotprotected static final java.lang.String DATA_RETRIVE_URL
protected static final java.lang.String VERSION_CHECK_URL
protected static final long UPDATE_INTERVAL
protected long lastUpdateCheck
protected java.lang.String currentVersion
protected void checkDataMaps()
throws java.io.IOException
checkDataMaps in class UASparserjava.io.IOExceptionprotected java.lang.String getVersionFromServer()
throws java.io.IOException
java.io.IOException