public interface Storage
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(java.net.URI key)
Check if key exists in storage.
|
void |
delete(java.net.URI key)
Delete an object from Storage.
|
java.io.InputStream |
get(java.net.URI key)
Get an InputStream object by providing a key.
|
void |
put(java.net.URI key,
java.io.InputStream is)
Put an object into Storage against a key.
|
boolean containsKey(java.net.URI key)
key - The key is a URI pointing to the blob in Storage.java.io.InputStream get(java.net.URI key)
throws KeyDoesNotExistException
KeyDoesNotExistException if key is not present.key - The key is a URI pointing to the blob in Storage.KeyDoesNotExistExceptionvoid put(java.net.URI key,
java.io.InputStream is)
throws KeyAlreadyExistsException
KeyAlreadyExistsException;.key - The key is a URI pointing to the blob in Storage.is - The input stream from which the value is read to the store. The value is read completelyKeyAlreadyExistsExceptionvoid delete(java.net.URI key)
throws KeyDoesNotExistException
KeyDoesNotExistException if key is not present.key - The key is a URI pointing to the blob in Storage.KeyDoesNotExistException