fr.paris.lutece.plugins.blobstore.business.filesystem
Class FileSystemBlobStoreDAO
java.lang.Object
fr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreDAO
- All Implemented Interfaces:
- fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
public class FileSystemBlobStoreDAO
- extends Object
- implements fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
Uses filesystem to store blob. Note that strBasePath is the
path were blobs are put.
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemBlobStoreDAO
public FileSystemBlobStoreDAO()
delete
public boolean delete(String strKey,
String strBasePath,
Integer depth)
throws IOException
- Specified by:
delete in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
insert
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
- Specified by:
insert in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException
insert
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
- Specified by:
insert in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
fr.paris.lutece.plugins.blobstore.business.filesystem.FileAlreadyExistsException
IOException
load
public fr.paris.lutece.plugins.blobstore.business.BytesBlobStore load(String strId,
String strBasePath,
Integer depth)
throws IOException
- Specified by:
load in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
loadInputStream
public InputStream loadInputStream(String strId,
String strBasePath,
Integer depth)
throws IOException
- Specified by:
loadInputStream in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
store
public void store(fr.paris.lutece.plugins.blobstore.business.BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
- Specified by:
store in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
storeInputStream
public void storeInputStream(fr.paris.lutece.plugins.blobstore.business.InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
- Specified by:
storeInputStream in interface fr.paris.lutece.plugins.blobstore.business.filesystem.IFileSystemBlobStoreDAO
- Throws:
IOException
Copyright © 2014 Mairie de Paris. All Rights Reserved.