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