public interface BlobStorage
BlobStorage
provide an abstraction over the storage of blob
content. For storing blob metadata, see BlobInfoStorage
.Modifier and Type | Method and Description |
---|---|
void |
deleteBlob(com.google.appengine.api.blobstore.BlobKey blobKey)
Remove both the content and the metadata for the specified blob.
|
java.io.InputStream |
fetchBlob(com.google.appengine.api.blobstore.BlobKey blobKey)
Fetch the contents of the specified blob.
|
boolean |
hasBlob(com.google.appengine.api.blobstore.BlobKey blobKey) |
java.io.OutputStream |
storeBlob(com.google.appengine.api.blobstore.BlobKey blobKey)
Store the contents of the specified blob.
|
boolean hasBlob(com.google.appengine.api.blobstore.BlobKey blobKey)
java.io.OutputStream storeBlob(com.google.appengine.api.blobstore.BlobKey blobKey) throws java.io.IOException
OutputStream
, and the blob
content may not appear until that stream is closed.java.io.IOException
java.io.InputStream fetchBlob(com.google.appengine.api.blobstore.BlobKey blobKey) throws java.io.IOException
java.io.IOException
void deleteBlob(com.google.appengine.api.blobstore.BlobKey blobKey) throws java.io.IOException
java.io.IOException