| 程序包 | 说明 |
|---|---|
| cn.trinea.android.common.service.impl |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ImageCache
Image Cache
It's a cache with primary cache and secondary cache. |
class |
ImageMemoryCache
Image Memory Cache
It applies to images those uesd frequently, like users avatar of twitter or sina weibo. |
class |
ImageSDCardCache
Image SDCard Cache
It applies to images those uesd frequently and their size is big that we cannot store too much in memory, like pictures of twitter or sina weibo. |
class |
PreloadDataCache<K,V>
Preload data cache, It a good choice for network application which need to preload data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> SimpleCache<K,V> |
SimpleCache.loadCache(String filePath)
restore cache from file
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <K,V> void |
SimpleCache.saveCache(String filePath,
SimpleCache<K,V> cache)
save cache to file, the data of
CacheObject should can be serializabled |
Copyright © 2012-2014. All Rights Reserved.