public interface IBlobStoreService extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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 |
storeFileItem(org.apache.commons.fileupload.FileItem fileItem)
Stores a FileItem
|
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
|
String store(byte[] blob)
blob - The blobString storeInputStream(InputStream inputStream)
inputStream - the input streambyte[] getBlob(String strKey)
strKey - The key of the blobInputStream getBlobInputStream(String strKey)
InputStreamstrKey - the keyInputStreamString storeFileItem(org.apache.commons.fileupload.FileItem fileItem)
fileItem - void update(String strKey, byte[] blob)
strKey - The key of the blobblob - The new blobvoid 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 keyString getFileUrl(String strKey)
BlobStoreFileItem)strKey - theString getName()
void setName(String strName)
strName - the nameCopyright © 2022 City of Paris. All rights reserved.