cloudconvert / cloudconvert-java

Official CloudConvert Java SDK
37 stars 20 forks source link

Allow overriding upload filename #29

Closed josiasmontag closed 3 years ago

josiasmontag commented 3 years ago

This adds an optional filename parameter to the upload method. Useful if you need to override the filename, for example if the mime detection fails (DOCX files).

cloudConvertClient.importUsing().upload(new UploadImportRequest(), docxInputStream, "test.docx");