Class FileSystemBlobStoreService
java.lang.Object
fr.paris.lutece.plugins.blobstore.service.filesystem.FileSystemBlobStoreService
- All Implemented Interfaces:
fr.paris.lutece.plugins.blobstore.service.IBlobStoreService,Serializable
public class FileSystemBlobStoreService
extends Object
implements fr.paris.lutece.plugins.blobstore.service.IBlobStoreService
FileSystemBlobStoreService.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGets the base directory.byte[]getBlobInputStream(String strKey) getBlobUrl(String strKey) getDepth()Gets the depth.Gets the downloadService.getFileUrl(String strKey) getName()voidsetBasePath(String strBasePath) Sets the base directory.voidsetBasePathKey(String key) voidSets the depth.voidsetDepthKey(String key) voidsetDownloadUrlService(IBlobStoreDownloadUrlService downloadUrlService) Sets the downloadServicevoidstore(byte[] blob) storeFileItem(org.apache.commons.fileupload.FileItem fileItem) storeInputStream(InputStream inputStream) voidvoidupdateInputStream(String strKey, InputStream inputStream)
-
Constructor Details
-
FileSystemBlobStoreService
public FileSystemBlobStoreService()
-
-
Method Details
-
getDownloadUrlService
Gets the downloadService.- Returns:
- the downloadService
-
setDownloadUrlService
Sets the downloadService- Parameters:
downloadUrlService- downloadService
-
setName
- Specified by:
setNamein interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getName
- Specified by:
getNamein interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
setBasePath
Sets the base directory.- Parameters:
strBasePath- base path
-
getBasePath
Gets the base directory.- Returns:
- the base directory
-
delete
- Specified by:
deletein interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getBlob
- Specified by:
getBlobin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getBlobInputStream
- Specified by:
getBlobInputStreamin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
store
- Specified by:
storein interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
storeInputStream
- Specified by:
storeInputStreamin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
storeFileItem
- Specified by:
storeFileItemin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
update
- Specified by:
updatein interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
updateInputStream
- Specified by:
updateInputStreamin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getBlobUrl
- Specified by:
getBlobUrlin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getFileUrl
- Specified by:
getFileUrlin interfacefr.paris.lutece.plugins.blobstore.service.IBlobStoreService
-
getDepth
Gets the depth.- Returns:
- the depth
-
setDepth
Sets the depth.- Parameters:
depth- the new depth
-
setBasePathKey
-
setDepthKey
-