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.IFileSystemBlobStoreDAO
IOException
public 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.IFileSystemBlobStoreDAO
IOException
fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException
public 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.IFileSystemBlobStoreDAO
fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException
IOException
public 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.IFileSystemBlobStoreDAO
IOException
public InputStream loadInputStream(String strId, String strBasePath, Integer depth) throws IOException
loadInputStream
in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
IOException
public 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.IFileSystemBlobStoreDAO
IOException
public 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.IFileSystemBlobStoreDAO
IOException
Copyright © 2017 City of Paris. All rights reserved.