Class BlobKey
- java.lang.Object
-
- com.google.appengine.api.blobstore.BlobKey
-
- All Implemented Interfaces:
Serializable
,Comparable<BlobKey>
public final class BlobKey extends Object implements Serializable, 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.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BlobKey o)
boolean
equals(@Nullable Object object)
TwoBlobKey
objects are considered equal if they point to the same blobs.String
getKeyString()
Returns the blob key as a String.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
BlobKey
public BlobKey(String blobKey)
Construct a newBlobKey
with the specified key string.- Throws:
IllegalArgumentException
- If the specified string was null.
-
-
Method Detail
-
getKeyString
public String getKeyString()
Returns the blob key as a String.
-
equals
public boolean equals(@Nullable Object object)
TwoBlobKey
objects are considered equal if they point to the same blobs.
-
compareTo
public int compareTo(BlobKey o)
- Specified by:
compareTo
in interfaceComparable<BlobKey>
-
-