public class FileSystemBlobStoreDAO extends Object implements fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
strBasePath is the path were blobs are put.| Constructor and Description |
|---|
FileSystemBlobStoreDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(String strKey,
String strBasePath,
Integer depth) |
void |
insert(fr.paris.lutece.plugins.blobstore.business.BytesBlobStore blobStore,
String strBasePath,
Integer depth) |
void |
insert(fr.paris.lutece.plugins.blobstore.business.InputStreamBlobStore blobStore,
String strBasePath,
Integer depth) |
fr.paris.lutece.plugins.blobstore.business.BytesBlobStore |
load(String strId,
String strBasePath,
Integer depth) |
InputStream |
loadInputStream(String strId,
String strBasePath,
Integer depth) |
void |
store(fr.paris.lutece.plugins.blobstore.business.BytesBlobStore blobStore,
String strBasePath,
Integer depth) |
void |
storeInputStream(fr.paris.lutece.plugins.blobstore.business.InputStreamBlobStore blobStore,
String strBasePath,
Integer depth) |
public boolean delete(String strKey, String strBasePath, Integer depth) throws IOException
delete in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionpublic void insert(fr.paris.lutece.plugins.blobstore.business.BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException,
fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException
insert in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionfr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsExceptionpublic void insert(fr.paris.lutece.plugins.blobstore.business.InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException,
IOException
insert in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOfr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsExceptionIOExceptionpublic fr.paris.lutece.plugins.blobstore.business.BytesBlobStore load(String strId, String strBasePath, Integer depth) throws IOException
load in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionpublic InputStream loadInputStream(String strId, String strBasePath, Integer depth) throws IOException
loadInputStream in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionpublic void store(fr.paris.lutece.plugins.blobstore.business.BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
store in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionpublic void storeInputStream(fr.paris.lutece.plugins.blobstore.business.InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
storeInputStream in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAOIOExceptionCopyright © 2021 City of Paris. All rights reserved.