|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileSystemBlobStoreDAO
Uses filesystem to store blobs.
Method Summary | |
---|---|
boolean |
delete(java.lang.String strKey,
java.lang.String strBasePath)
Removes the file |
void |
insert(BytesBlobStore blobStore,
java.lang.String strBasePath)
Inserts the blobStore |
void |
insert(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
Inserts the InputStreamDatabaseBlobStore |
BytesBlobStore |
load(java.lang.String strId,
java.lang.String strBasePath)
Load the data from the table |
java.io.InputStream |
loadInputStream(java.lang.String strId,
java.lang.String strBasePath)
Loads the InputStreamDatabaseBlobStore |
void |
store(BytesBlobStore blobStore,
java.lang.String strBasePath)
Updates the file |
void |
storeInputStream(InputStreamBlobStore blobStore,
java.lang.String strBasePath)
Updates the file |
Method Detail |
---|
void insert(BytesBlobStore blobStore, java.lang.String strBasePath) throws java.io.IOException, FileAlreadyExistsException
blobStore
- blobStorestrBasePath
- base directory
java.io.IOException
- ioexception
FileAlreadyExistsException
- if the file already existsvoid insert(InputStreamBlobStore blobStore, java.lang.String strBasePath) throws FileAlreadyExistsException, java.io.IOException
blobStore
- blobStorestrBasePath
- base directory
java.io.IOException
- ioexception
FileAlreadyExistsException
- if the file already existsBytesBlobStore load(java.lang.String strId, java.lang.String strBasePath) throws java.io.IOException
strId
- The identifierstrBasePath
- base directory
java.io.IOException
- ioexceptionjava.io.InputStream loadInputStream(java.lang.String strId, java.lang.String strBasePath) throws java.io.IOException
strId
- idstrBasePath
- base path
java.io.IOException
- ioexceptionvoid store(BytesBlobStore blobStore, java.lang.String strBasePath) throws java.io.IOException
blobStore
- the blobstrBasePath
- the base directory
java.io.IOException
- ioexceptionvoid storeInputStream(InputStreamBlobStore blobStore, java.lang.String strBasePath) throws java.io.IOException
blobStore
- the blobstrBasePath
- the base directory
java.io.IOException
- ioexceptionboolean delete(java.lang.String strKey, java.lang.String strBasePath) throws java.io.IOException
strKey
- the keystrBasePath
- the base directory
true
if the file is deleted, false
otherwise
java.io.IOException
- ioexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |