|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlobStoreService
Blob Store Service Interface. *InputStream methods should be used for very large blobs.
| Method Summary | |
|---|---|
void |
delete(java.lang.String strKey)
Delete a blob |
byte[] |
getBlob(java.lang.String strKey)
Get a blob |
java.io.InputStream |
getBlobInputStream(java.lang.String strKey)
Gets a blob as InputStream |
java.lang.String |
getBlobUrl(java.lang.String strKey)
Gets the blob URL |
java.lang.String |
getFileUrl(java.lang.String strKey)
Gets the file download url (for BlobStoreFileItem) |
java.lang.String |
getName()
Gets the blobstore name |
void |
setName(java.lang.String strName)
Sets the blobstore name |
java.lang.String |
store(byte[] blob)
Store a blob |
java.lang.String |
storeInputStream(java.io.InputStream inputStream)
Stores an input stream |
void |
update(java.lang.String strKey,
byte[] blob)
Update a blob |
void |
updateInputStream(java.lang.String strKey,
java.io.InputStream inputStream)
Updates a blob key with the inputstream |
| Method Detail |
|---|
java.lang.String store(byte[] blob)
blob - The blob
java.lang.String storeInputStream(java.io.InputStream inputStream)
inputStream - the input stream
byte[] getBlob(java.lang.String strKey)
strKey - The key of the blob
java.io.InputStream getBlobInputStream(java.lang.String strKey)
InputStream
strKey - the key
InputStream
void update(java.lang.String strKey,
byte[] blob)
strKey - The key of the blobblob - The new blob
void updateInputStream(java.lang.String strKey,
java.io.InputStream inputStream)
strKey - the blob keyinputStream - the input streamvoid delete(java.lang.String strKey)
strKey - The key of the blobjava.lang.String getBlobUrl(java.lang.String strKey)
strKey -
java.lang.String getFileUrl(java.lang.String strKey)
BlobStoreFileItem)
strKey - the
java.lang.String getName()
void setName(java.lang.String strName)
strName - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||