|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBlobStoreClientService
IBlobStoreClientService
| Method Summary | |
|---|---|
String |
doDeleteFile(String strBaseUrl,
String strBlobStore,
String strBlobKey)
Do delete a file in the blobstore webapp |
org.apache.commons.fileupload.FileItem |
doDownloadFile(String strUrl)
Download the file |
void |
doDownloadFile(String strUrl,
String strFilePath)
Download the file to the file path |
String |
doUploadFile(String strBaseUrl,
org.apache.commons.fileupload.FileItem fileItem,
String strBlobStore)
Do upload a file in the blobstore webapp |
String |
getFileName(String strUrl)
Get the file name given an url |
String |
getFileUrl(String strBaseUrl,
String strBlobStore,
String strBlobKey)
Get the file url |
| Method Detail |
|---|
String getFileName(String strUrl)
throws BlobStoreClientException
strUrl - the url
BlobStoreClientException - exception if there is an issue
String doDeleteFile(String strBaseUrl,
String strBlobStore,
String strBlobKey)
throws BlobStoreClientException
strBaseUrl - the base urlstrBlobStore - the blobstore service namestrBlobKey - the blob key
BlobStoreClientException - exception if there is an issue
String doUploadFile(String strBaseUrl,
org.apache.commons.fileupload.FileItem fileItem,
String strBlobStore)
throws BlobStoreClientException
strBaseUrl - the base urlfileItem - the file to uploadstrBlobStore - the blobstore service name
BlobStoreClientException - exception if there is an issue
String getFileUrl(String strBaseUrl,
String strBlobStore,
String strBlobKey)
throws BlobStoreClientException
strBaseUrl - the base urlstrBlobStore - the blobstore service namestrBlobKey - the blob key
BlobStoreClientException - exception if there is an issue
void doDownloadFile(String strUrl,
String strFilePath)
throws BlobStoreClientException
strUrl - the url of the filestrFilePath - the file path
BlobStoreClientException - exception if there is an error
org.apache.commons.fileupload.FileItem doDownloadFile(String strUrl)
throws BlobStoreClientException
strUrl - the url of the file
FileItem
BlobStoreClientException - exception if there is an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||