Interface BlobStorage
public interface BlobStorage
BlobStorage provide an abstraction over the storage of blob
content. For storing blob metadata, see BlobInfoStorage.-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteBlob(BlobKey blobKey) Remove both the content and the metadata for the specified blob.Fetch the contents of the specified blob.booleanStore the contents of the specified blob.
-
Method Details
-
hasBlob
- Returns:
- true if content is found for the specified blob.
-
storeBlob
Store the contents of the specified blob. The contents should be written to the returnedOutputStream, and the blob content may not appear until that stream is closed.- Throws:
IOException
-
fetchBlob
Fetch the contents of the specified blob.- Throws:
IOException
-
deleteBlob
Remove both the content and the metadata for the specified blob.- Throws:
IOException
-