Class FileResourceBinaryServiceImpl

    • Method Detail

      • upload

        public de.digitalcollections.model.api.identifiable.resource.FileResource upload​(InputStream inputStream,
                                                                                         String filename,
                                                                                         String contentType)
                                                                                  throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
        Specified by:
        upload in interface FileResourceBinaryService
        Throws:
        de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
      • upload

        public de.digitalcollections.model.api.identifiable.resource.FileResource upload​(byte[] bytes,
                                                                                         String filename,
                                                                                         String contentType)
                                                                                  throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
        Specified by:
        upload in interface FileResourceBinaryService
        Throws:
        de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException