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

convertToResourceList

open static fun convertToResourceList(resourceLoader: ResourceLoader, vararg paths: String): MutableList<Resource>

Convert the supplied paths to a list 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 list of resources

Since
4.2

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