|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreHome
public final class FileSystemBlobStoreHome
FileSystemBlobStoreHome
| Method Summary | |
|---|---|
static void |
create(BytesBlobStore blobStore,
java.lang.String strBasePath)
Creation of an instance of record physical file |
static void |
createInputStream(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
Creation of an instance of record physical file |
static BytesBlobStore |
findByPrimaryKey(java.lang.String strKey,
java.lang.String strBasePath)
Returns an instance of a physical file whose identifier is specified in parameter |
static java.io.InputStream |
findByPrimaryKeyInputStream(java.lang.String strKey,
java.lang.String strBasePath)
Returns an instance of a physical file whose identifier is specified in parameter |
static boolean |
remove(java.lang.String strKey,
java.lang.String strBasePath)
Delete the physical file whose identifier is specified in parameter |
static void |
update(BytesBlobStore blobStore,
java.lang.String strBasePath)
Update of physical file which is specified in parameter |
static void |
updateInputStream(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
Update of physical file which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void create(BytesBlobStore blobStore,
java.lang.String strBasePath)
throws java.io.IOException,
FileAlreadyExistsException
blobStore - The instance of the physical file which contains the informations to storestrBasePath - base directory
FileAlreadyExistsException - already exists
java.io.IOException - ioe
public static void update(BytesBlobStore blobStore,
java.lang.String strBasePath)
throws java.io.IOException
blobStore - The instance of the record physicalFile which contains the informations to updatestrBasePath - base directory
java.io.IOException - ioe
public static void updateInputStream(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
throws java.io.IOException
blobStore - The instance of the record physicalFile which contains the informations to updatestrBasePath - base directory
java.io.IOException - ioe
public static boolean remove(java.lang.String strKey,
java.lang.String strBasePath)
throws java.io.IOException
strKey - The identifier of the record physical filestrBasePath - base directory
true if the file is removed, false otherwise.
java.io.IOException - ioe
public static BytesBlobStore findByPrimaryKey(java.lang.String strKey,
java.lang.String strBasePath)
throws java.io.IOException
strKey - The file primary keystrBasePath - base directory
java.io.IOException - ioe
public static java.io.InputStream findByPrimaryKeyInputStream(java.lang.String strKey,
java.lang.String strBasePath)
throws java.io.IOException
strKey - The file primary keystrBasePath - base directory
java.io.IOException - ioe
public static void createInputStream(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
throws FileAlreadyExistsException,
java.io.IOException
blobStore - The instance of the physical file which contains the inputstream to storestrBasePath - base directory
java.io.IOException - ioe
FileAlreadyExistsException - already exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||