| java.lang.Object | |
| ↳ | com.facebook.cache.common.SimpleCacheKey |
Known Direct Subclasses
|
CacheKey implementation that is a simple wrapper around a String object.
Users of CacheKey should construct it by providing a unique string that unambiguously identifies the cached resource.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SimpleCacheKey(String key) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
containsUri(Uri uri)
Returns true if this key was constructed from this Uri.
| ||||||||||
| boolean | equals(Object o) | ||||||||||
| String |
getUriString()
Returns a string representation of the URI at the heart of the cache key.
| ||||||||||
| int | hashCode() | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.cache.common.CacheKey
| |||||||||||
Returns true if this key was constructed from this Uri. Used for cases like deleting all keys for a given uri.
Returns a string representation of the URI at the heart of the cache key. In cases of multiple keys being contained, the first is returned.