|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.blobstoreclient.service.BlobStoreClientLocaleService
public class BlobStoreClientLocaleService
BlobStoreClientLocaleService
| Constructor Summary | |
|---|---|
BlobStoreClientLocaleService()
|
|
| 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 |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlobStoreClientLocaleService()
| Method Detail |
|---|
public java.lang.String getFileName(java.lang.String strUrl)
throws BlobStoreClientException
getFileName in interface IBlobStoreClientServicestrUrl - the url
BlobStoreClientException - exception if there is an issue
public java.lang.String doDeleteFile(java.lang.String strBaseUrl,
java.lang.String strBlobStore,
java.lang.String strBlobKey)
throws BlobStoreClientException
doDeleteFile in interface IBlobStoreClientServicestrBaseUrl - the base urlstrBlobStore - the blobstore service namestrBlobKey - the blob key
BlobStoreClientException - exception if there is an issue
public java.lang.String doUploadFile(java.lang.String strBaseUrl,
org.apache.commons.fileupload.FileItem fileItem,
java.lang.String strBlobStore)
throws BlobStoreClientException
doUploadFile in interface IBlobStoreClientServicestrBaseUrl - the base urlfileItem - the file to uploadstrBlobStore - the blobstore service name
BlobStoreClientException - exception if there is an issue
public java.lang.String getFileUrl(java.lang.String strBaseUrl,
java.lang.String strBlobStore,
java.lang.String strBlobKey)
throws BlobStoreClientException
getFileUrl in interface IBlobStoreClientServicestrBaseUrl - the base urlstrBlobStore - the blobstore service namestrBlobKey - the blob key
BlobStoreClientException - exception if there is an issue
public void doDownloadFile(java.lang.String strUrl,
java.lang.String strFilePath)
throws BlobStoreClientException
doDownloadFile in interface IBlobStoreClientServicestrUrl - the url of the filestrFilePath - the file path
BlobStoreClientException - exception if there is an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||