Class CudamiFileResourcesBinaryClient
java.lang.Object
de.digitalcollections.cudami.client.identifiable.resource.CudamiFileResourcesBinaryClient
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCudamiFileResourcesBinaryClient(String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
-
Field Details
-
mapper
protected final com.fasterxml.jackson.databind.ObjectMapper mapper -
serverUri
-
-
Constructor Details
-
CudamiFileResourcesBinaryClient
public CudamiFileResourcesBinaryClient(String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
upload
public de.digitalcollections.model.identifiable.resource.FileResource upload(InputStream inputStream, String filename, String contentType) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-
upload
public de.digitalcollections.model.identifiable.resource.FileResource upload(byte[] bytes, String filename, String contentType) throws de.digitalcollections.model.exception.TechnicalException - Throws:
de.digitalcollections.model.exception.TechnicalException
-