cz.mallat.uasparser
Class CachingOnlineUpdateUASparser
java.lang.Object
cz.mallat.uasparser.UASparser
cz.mallat.uasparser.OnlineUpdateUASparser
cz.mallat.uasparser.CachingOnlineUpdateUASparser
public class CachingOnlineUpdateUASparser
- extends OnlineUpdateUASparser
Adds a cache to the OnlineUpdateUAParser
- Author:
- oli
|
Method Summary |
protected void |
checkDataMaps()
This implementation uses a local properties file to keep the lastUpdate time and the local data file version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingOnlineUpdateUASparser
public CachingOnlineUpdateUASparser()
throws IOException
- The cache files are put into the java tmp directory
- Throws:
IOException
CachingOnlineUpdateUASparser
public CachingOnlineUpdateUASparser(String cacheDir)
throws IOException
- The cache files are put into the cacheDir
- Parameters:
cacheDir -
- Throws:
IOException
checkDataMaps
protected void checkDataMaps()
throws IOException
- This implementation uses a local properties file to keep the lastUpdate time and the local data file version
- Overrides:
checkDataMaps in class OnlineUpdateUASparser
- Throws:
IOException
Copyright © 2011. All Rights Reserved.