Interface NonDocumentGenericResourceStorage<T>
-
public interface NonDocumentGenericResourceStorage<T>
-
-
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)TdeserializeObjectFromStore(String id)StringnewStore(String suggestedExtension, String mimeType)voidserializeObjectToStore(T 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(T o, String id) throws IOException
- Throws:
IOException
-
copyStoreToOutputStream
void copyStoreToOutputStream(String id, OutputStream outputStream) throws IOException
- Throws:
IOException
-
deserializeObjectFromStore
T deserializeObjectFromStore(String id) throws IOException
- Throws:
IOException
-
delete
boolean delete(String storageId)
-
-