|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nostra13.universalimageloader.utils.MemoryCacheUtils
public final class MemoryCacheUtils
Utility for generating of keys for memory cache, key comparing and other work with memory cache
Method Summary | |
---|---|
static Comparator<String> |
createFuzzyKeyComparator()
|
static List<android.graphics.Bitmap> |
findCachedBitmapsForImageUri(String imageUri,
MemoryCache memoryCache)
Searches all bitmaps in memory cache which are corresponded to incoming URI. |
static List<String> |
findCacheKeysForImageUri(String imageUri,
MemoryCache memoryCache)
Searches all keys in memory cache which are corresponded to incoming URI. |
static String |
generateKey(String imageUri,
ImageSize targetSize)
Generates key for memory cache for incoming image (URI + size). |
static void |
removeFromCache(String imageUri,
MemoryCache 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 String generateKey(String imageUri, ImageSize targetSize)
public static Comparator<String> createFuzzyKeyComparator()
public static List<android.graphics.Bitmap> findCachedBitmapsForImageUri(String imageUri, MemoryCache memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
public static List<String> findCacheKeysForImageUri(String imageUri, MemoryCache memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
public static void removeFromCache(String imageUri, MemoryCache memoryCache)
denyCacheImageMultipleSizesInMemory()
option in configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |