|
||||||||||
| 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(String strKey,
String strBasePath,
Integer depth)
Removes the file. |
void |
insert(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Inserts the blobStore. |
void |
insert(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Inserts the InputStreamDatabaseBlobStore. |
BytesBlobStore |
load(String strId,
String strBasePath,
Integer depth)
Load the data from the table. |
InputStream |
loadInputStream(String strId,
String strBasePath,
Integer depth)
Loads the InputStreamDatabaseBlobStore. |
void |
store(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Updates the file. |
void |
storeInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Updates the file. |
| Method Detail |
|---|
void insert(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException,
FileAlreadyExistsException
blobStore - blobStorestrBasePath - base directorydepth - the depth
IOException - ioexception
FileAlreadyExistsException - if the file already exists
void insert(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws FileAlreadyExistsException,
IOException
blobStore - blobStorestrBasePath - base directorydepth - the depth
FileAlreadyExistsException - if the file already exists
IOException - ioexception
BytesBlobStore load(String strId,
String strBasePath,
Integer depth)
throws IOException
strId - The identifierstrBasePath - base directorydepth - the depth
IOException - ioexception
InputStream loadInputStream(String strId,
String strBasePath,
Integer depth)
throws IOException
strId - idstrBasePath - base pathdepth - the depth
IOException - ioexception
void store(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
blobStore - the blobstrBasePath - the base directorydepth - the depth
IOException - ioexception
void storeInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
blobStore - the blobstrBasePath - the base directorydepth - the depth
IOException - ioexception
boolean delete(String strKey,
String strBasePath,
Integer depth)
throws IOException
strKey - the keystrBasePath - the base directorydepth - the depth
true if the file is deleted, false otherwise
IOException - ioexception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||