|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlobStore
An interface to store and read large binary objects.
| Method Summary | |
|---|---|
String |
addBlob(String tempFilePath)
Write a blob from a temporary file. |
void |
close()
|
long |
getBlobLength(String blobId)
|
int |
readBlob(String blobId,
long pos,
byte[] buff,
int off,
int length)
|
String |
writeBlob(InputStream in)
Write a blob from an input stream. |
| Method Detail |
|---|
String addBlob(String tempFilePath)
throws Exception
tempFilePath - the temporary file
Exception
String writeBlob(InputStream in)
throws Exception
in - the input stream
Exception
int readBlob(String blobId,
long pos,
byte[] buff,
int off,
int length)
throws Exception
Exception
long getBlobLength(String blobId)
throws Exception
Exceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||