save Resource

open fun saveResource(resource: MultipartFile, path: String)

Method to save a resource file

Parameters

resource

: the resource to save

path

: the path where save the resource file

Throws

when an error occurred during the resource file saving