public class FileSystemBlobStoreService extends Object implements fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
| Constructor and Description |
|---|
FileSystemBlobStoreService() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String strKey) |
String |
getBasePath()
Gets the base directory.
|
byte[] |
getBlob(String strKey) |
InputStream |
getBlobInputStream(String strKey) |
String |
getBlobUrl(String strKey) |
Integer |
getDepth()
Gets the depth.
|
IBlobStoreDownloadUrlService |
getDownloadUrlService()
Gets the downloadService.
|
String |
getFileUrl(String strKey) |
String |
getName() |
void |
setBasePath(String strBasePath)
Sets the base directory.
|
void |
setBasePathKey(String key) |
void |
setDepth(Integer depth)
Sets the depth.
|
void |
setDepthKey(String key) |
void |
setDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService)
Sets the downloadService
|
void |
setName(String strName) |
String |
store(byte[] blob) |
String |
storeFileItem(org.apache.commons.fileupload.FileItem fileItem) |
String |
storeInputStream(InputStream inputStream) |
void |
update(String strKey,
byte[] blob) |
void |
updateInputStream(String strKey,
InputStream inputStream) |
public IBlobStoreDownloadUrlService getDownloadUrlService()
public void setDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService)
downloadUrlService - downloadServicepublic void setName(String strName)
setName in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String getName()
getName in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic void setBasePath(String strBasePath)
strBasePath - base pathpublic String getBasePath()
public void delete(String strKey)
delete in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic byte[] getBlob(String strKey)
getBlob in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic InputStream getBlobInputStream(String strKey)
getBlobInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String store(byte[] blob)
store in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String storeInputStream(InputStream inputStream)
storeInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String storeFileItem(org.apache.commons.fileupload.FileItem fileItem)
storeFileItem in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic void update(String strKey, byte[] blob)
update in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic void updateInputStream(String strKey, InputStream inputStream)
updateInputStream in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String getBlobUrl(String strKey)
getBlobUrl in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic String getFileUrl(String strKey)
getFileUrl in interface fr.paris.lutece.plugins.blobstore.service.IBlobStoreServicepublic Integer getDepth()
public void setDepth(Integer depth)
depth - the new depthpublic void setBasePathKey(String key)
public void setDepthKey(String key)
Copyright © 2021 City of Paris. All rights reserved.