com.bumptech.glide.signature
Class EmptySignature

java.lang.Object
  extended by com.bumptech.glide.signature.EmptySignature
All Implemented Interfaces:
Key

public final class EmptySignature
extends Object
implements Key

An empty key that is always equal to all other empty keys.


Field Summary
 
Fields inherited from interface com.bumptech.glide.load.Key
STRING_CHARSET_NAME
 
Method Summary
static EmptySignature obtain()
           
 void updateDiskCacheKey(MessageDigest messageDigest)
          Adds all uniquely identifying information to the given digest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bumptech.glide.load.Key
equals, hashCode
 

Method Detail

obtain

public static EmptySignature obtain()

updateDiskCacheKey

public void updateDiskCacheKey(MessageDigest messageDigest)
                        throws UnsupportedEncodingException
Description copied from interface: Key
Adds all uniquely identifying information to the given digest.

Note - Using MessageDigest.reset() inside of this method will result in undefined behavior.

Specified by:
updateDiskCacheKey in interface Key
Throws:
UnsupportedEncodingException