This is an extension to the base ResourceLoader interface. A passed-in ResourceLoader (for example, an ApplicationContext passed in via ResourceLoaderAware when running in a context) can be checked whether it implements this extended interface too.
Can be used with any sort of location pattern (e.g. "/WEB-INF/*-context.xml"): Input patterns have to match the strategy implementation. This interface just specifies the conversion method rather than a specific pattern format.
This interface also suggests a new resource prefix "classpath*" for all matching resources from the class path. Note that the resource location is expected to be a path without placeholders in this case (e.g. "/beans.xml"); JAR files or classes directories can contain multiple files of the same name.
| Field Summary | |
|---|---|
| static String |
Pseudo URL prefix for all matching resources from the class path: "classpath*:" This differs from ResourceLoader's classpath URL prefix in that it retrieves all matching resources for a given name (e.g. |
| static String |
No description provided. |
| Method Summary | |
|---|---|
| Resource[] |
Resolve the given location pattern into Resource objects. |
| Methods inherited from org.springframework.core.ioResourceLoader |
|---|
Overlapping resource entries that point to the same physical resource should be avoided, as far as possible. The result should have set semantics.