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