|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.blobstore.BlobInfo
public class BlobInfo
BlobInfo
contains metadata about a blob. This metadata is gathered by
parsing the HTTP headers included in the blob upload. For more information on
HTTP file uploads, see
RFC 1867.
Constructor Summary | |
---|---|
BlobInfo(BlobKey blobKey,
java.lang.String contentType,
java.util.Date creation,
java.lang.String filename,
long size)
Creates a BlobInfo by providing the BlobKey and all
associated metadata. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
BlobKey |
getBlobKey()
Returns the BlobKey of the Blob this BlobInfo describes. |
java.lang.String |
getContentType()
Returns the MIME Content-Type provided in the HTTP header during upload of this Blob. |
java.util.Date |
getCreation()
Returns the time and date the blob was upload. |
java.lang.String |
getFilename()
Returns the file included in the Content-Disposition HTTP header during upload of this Blob. |
long |
getSize()
Returns the size in bytes of this Blob. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlobInfo(BlobKey blobKey, java.lang.String contentType, java.util.Date creation, java.lang.String filename, long size)
BlobInfo
by providing the BlobKey
and all
associated metadata. This is typically done by the API on the developer's
behalf.
Method Detail |
---|
public BlobKey getBlobKey()
BlobKey
of the Blob this BlobInfo
describes.
public java.lang.String getContentType()
public java.util.Date getCreation()
public java.lang.String getFilename()
public long getSize()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |