public class

DefaultCacheKeyFactory

extends Object
implements CacheKeyFactory
java.lang.Object
   ↳ com.facebook.imagepipeline.cache.DefaultCacheKeyFactory

Class Overview

Default implementation of CacheKeyFactory.

Summary

Protected Constructors
DefaultCacheKeyFactory()
Public Methods
CacheKey getBitmapCacheKey(ImageRequest request, Object callerContext)
CacheKey getEncodedCacheKey(ImageRequest request, Object callerContext)
synchronized static DefaultCacheKeyFactory getInstance()
CacheKey getPostprocessedBitmapCacheKey(ImageRequest request, Object callerContext)
Protected Methods
Uri getCacheKeySourceUri(Uri sourceUri)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.cache.CacheKeyFactory

Protected Constructors

protected DefaultCacheKeyFactory ()

Public Methods

public CacheKey getBitmapCacheKey (ImageRequest request, Object callerContext)

public CacheKey getEncodedCacheKey (ImageRequest request, Object callerContext)

public static synchronized DefaultCacheKeyFactory getInstance ()

public CacheKey getPostprocessedBitmapCacheKey (ImageRequest request, Object callerContext)

Protected Methods

protected Uri getCacheKeySourceUri (Uri sourceUri)

Returns
  • a String that unambiguously indicates the source of the image.