com.bumptech.glide.signature
Class StringSignature
java.lang.Object
com.bumptech.glide.signature.StringSignature
- All Implemented Interfaces:
- Key
public class StringSignature
- extends Object
- implements Key
A unique Signature that wraps a String.
StringSignature
public StringSignature(String signature)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Key
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Key
- Overrides:
hashCode
in class Object
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
toString
public String toString()
- Overrides:
toString
in class Object