|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentStoreIF
INTERNAL: A simple content store interface that stores chunks of data associated with an integer key. The underlying implementation is responsible for creating the keys.
Method Summary | |
---|---|
int |
add(ContentInputStream data)
INTERNAL: Creates an entry for the specified data value. |
int |
add(java.io.InputStream data,
int length)
INTERNAL: Creates an entry for the specified data value. |
void |
close()
INTERNAL: Closes the content store. |
boolean |
containsKey(int key)
INTERNAL: Returns true if the content store contains an entry with the specified key. |
ContentInputStream |
get(int key)
INTERNAL: Gets the data value associated with the specified key. |
boolean |
remove(int key)
INTERNAL: Removes the entry associated with the key. |
Method Detail |
---|
boolean containsKey(int key) throws ContentStoreException
ContentStoreException
ContentInputStream get(int key) throws ContentStoreException
ContentStoreException
int add(ContentInputStream data) throws ContentStoreException
ContentStoreException
int add(java.io.InputStream data, int length) throws ContentStoreException
ContentStoreException
boolean remove(int key) throws ContentStoreException
ContentStoreException
void close() throws ContentStoreException
ContentStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |