spring-framework / org.springframework.test.context.util / TestContextResourceUtils / convertToResources

convertToResources

open static fun convertToResources(resourceLoader: ResourceLoader, vararg paths: String): Array<Resource>

Convert the supplied paths to an array of Resource handles using the given ResourceLoader.

Parameters

resourceLoader - the ResourceLoader to use to convert the paths

paths - the paths to be converted

Return
a new array of resources

See Also
#convertToResourceList(ResourceLoader, String...)#convertToClasspathResourcePaths