create Resource

open fun createResource(resource: MultipartFile, resourcesDirectory: String, resourceId: String): String

Method to create the pathname of a resource file

Return

the pathname created of the resource file

Parameters

resource

: the resource from create its pathname

resourcesDirectory

: the specific resources directory to store the resource file

resourceId

: the resource identifier