Class OldCacheFileReader
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.resources.cache.OldCacheFileReader
-
class OldCacheFileReader extends java.lang.ObjectAlgorithm to extractCacheIndexEntryfrom a properties file. The property file has been deprecated and is no longer used. This algorithm is only used to migrate the existing data.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringKEY_DELETEprivate static charKEY_DELIMITERprivate static java.lang.StringKEY_HREFprivate static java.lang.StringKEY_LAST_ACCESSEDprivate static java.lang.StringKEY_VERSIONprivate static LoggerLOG
-
Constructor Summary
Constructors Constructor Description OldCacheFileReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.List<CacheIndexEntry>convertPropertiesToEntries(PropertiesFile props)(package private) static java.util.List<CacheIndexEntry>loadEntriesFromOldIndex(java.io.File file)private static java.lang.String[]splitKey(java.lang.String key)
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
KEY_LAST_ACCESSED
private static final java.lang.String KEY_LAST_ACCESSED
- See Also:
- Constant Field Values
-
KEY_DELETE
private static final java.lang.String KEY_DELETE
- See Also:
- Constant Field Values
-
KEY_HREF
private static final java.lang.String KEY_HREF
- See Also:
- Constant Field Values
-
KEY_VERSION
private static final java.lang.String KEY_VERSION
- See Also:
- Constant Field Values
-
KEY_DELIMITER
private static final char KEY_DELIMITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadEntriesFromOldIndex
static java.util.List<CacheIndexEntry> loadEntriesFromOldIndex(java.io.File file)
-
convertPropertiesToEntries
private static java.util.List<CacheIndexEntry> convertPropertiesToEntries(PropertiesFile props)
-
splitKey
private static java.lang.String[] splitKey(java.lang.String key)
-
-