public final class BlobKey extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BlobKey>
BlobKey contains the string identifier of a large (possibly
larger than 1MB) blob of binary data that was uploaded in a
previous request and can be streamed directly to users.| Constructor and Description |
|---|
BlobKey(java.lang.String blobKey)
Construct a new
BlobKey with the specified key string. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BlobKey o) |
boolean |
equals(java.lang.Object object)
Two
BlobKey objects are considered equal if they point
to the same blobs. |
java.lang.String |
getKeyString()
Returns the blob key as a String.
|
int |
hashCode() |
java.lang.String |
toString() |
public BlobKey(java.lang.String blobKey)
BlobKey with the specified key string.java.lang.IllegalArgumentException - If the specified string was null.public java.lang.String getKeyString()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
BlobKey objects are considered equal if they point
to the same blobs.equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object