|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.core.assist.MemoryCacheUtil
public final class MemoryCacheUtil
Utility for generating of keys for memory cache, key comparing and other work with memory cache
Method Summary | |
---|---|
static java.util.Comparator<java.lang.String> |
createFuzzyKeyComparator()
|
static java.util.List<android.graphics.Bitmap> |
findCachedBitmapsForImageUri(java.lang.String imageUri,
MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
Searches all bitmaps in memory cache which are corresponded to incoming URI. |
static java.util.List<java.lang.String> |
findCacheKeysForImageUri(java.lang.String imageUri,
MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
Searches all keys in memory cache which are corresponded to incoming URI. |
static java.lang.String |
generateKey(java.lang.String imageUri,
ImageSize targetSize)
Generates key for memory cache for incoming image (URI + size). |
static void |
removeFromCache(java.lang.String imageUri,
MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
Removes from memory cache all images for incoming URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String generateKey(java.lang.String imageUri, ImageSize targetSize)
public static java.util.Comparator<java.lang.String> createFuzzyKeyComparator()
public static java.util.List<android.graphics.Bitmap> findCachedBitmapsForImageUri(java.lang.String imageUri, MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
public static java.util.List<java.lang.String> findCacheKeysForImageUri(java.lang.String imageUri, MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
public static void removeFromCache(java.lang.String imageUri, MemoryCacheAware<java.lang.String,android.graphics.Bitmap> memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |