Interface NonDocumentResourceStorage
-
public interface NonDocumentResourceStorage
-
-
Method Summary
Modifier and Type Method Description voidcopyInputStreamToStore(InputStream inputStream, String id)voidcopyStoreToOutputStream(String id, OutputStream outputStream)voidcopyStringToStore(CharSequence str, String id)booleandelete(String storageId)<T> TdeserializeObjectFromStore(com.fasterxml.jackson.databind.ObjectMapper om, String id, Class<T> clazz)StringnewStore(String suggestedExtension, String mimeType)voidserializeObjectToStore(com.fasterxml.jackson.databind.ObjectMapper om, Object o, String id)
-
-
-
Method Detail
-
newStore
String newStore(String suggestedExtension, String mimeType) throws IOException
- Throws:
IOException
-
copyInputStreamToStore
void copyInputStreamToStore(InputStream inputStream, String id) throws IOException
- Throws:
IOException
-
copyStringToStore
void copyStringToStore(CharSequence str, String id) throws IOException
- Throws:
IOException
-
serializeObjectToStore
void serializeObjectToStore(com.fasterxml.jackson.databind.ObjectMapper om, Object o, String id) throws IOException- Throws:
IOException
-
copyStoreToOutputStream
void copyStoreToOutputStream(String id, OutputStream outputStream) throws IOException
- Throws:
IOException
-
deserializeObjectFromStore
<T> T deserializeObjectFromStore(com.fasterxml.jackson.databind.ObjectMapper om, String id, Class<T> clazz) throws IOException- Throws:
IOException
-
delete
boolean delete(String storageId)
-
-