abstract class TestContextResourceUtils
Utility methods for working with resources within the Spring TestContext Framework. Mainly for internal use within the framework.
Author
Sam Brannen
Author
Tadaya Tsuyukubo
Since
4.1
See Also
org.springframework.util.ResourceUtilsorg.springframework.core.io.Resourceorg.springframework.core.io.ClassPathResourceorg.springframework.core.io.FileSystemResourceorg.springframework.core.io.UrlResourceorg.springframework.core.io.ResourceLoader
TestContextResourceUtils()
Utility methods for working with resources within the Spring TestContext Framework. Mainly for internal use within the framework. |
open static fun convertToClasspathResourcePaths(clazz: Class<*>, vararg paths: String): Array<String>
Convert the supplied paths to classpath resource paths. For each of the supplied paths:
|
|
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. |
|
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. |