Module prov.storage.api
Interface NonDocumentResourceStorage
public interface NonDocumentResourceStorage
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInputStreamToStore(InputStream inputStream, String id) voidcopyStoreToOutputStream(String id, OutputStream outputStream) voidcopyStringToStore(CharSequence str, String id) boolean<T> TdeserializeObjectFromStore(com.fasterxml.jackson.databind.ObjectMapper om, String id, Class<T> clazz) voidserializeObjectToStore(com.fasterxml.jackson.databind.ObjectMapper om, Object o, String id)
-
Method Details
-
newStore
- Throws:
IOException
-
copyInputStreamToStore
- Throws:
IOException
-
copyStringToStore
- Throws:
IOException
-
serializeObjectToStore
void serializeObjectToStore(com.fasterxml.jackson.databind.ObjectMapper om, Object o, String id) throws IOException - Throws:
IOException
-
copyStoreToOutputStream
- Throws:
IOException
-
deserializeObjectFromStore
<T> T deserializeObjectFromStore(com.fasterxml.jackson.databind.ObjectMapper om, String id, Class<T> clazz) throws IOException - Throws:
IOException
-
delete
-