io.atlassian.blobstore.client.api
Class ContentKey

java.lang.Object
  extended by io.atlassian.blobstore.client.api.ContentKey

public final class ContentKey
extends java.lang.Object

A Key is an address for a blob. It is immutable, and the blob it represents cannot change.

A modification to a logical blob yields a new blob with a different key. A key is not an identity for a logical entity.


Method Summary
 java.lang.String base16()
           
static ContentKey create(java.lang.String hash)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static ContentKey create(java.lang.String hash)

base16

public java.lang.String base16()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object