java.lang.Object | ||
↳ | org.springframework.core.io.DefaultResourceLoader | |
↳ | org.springframework.core.io.ClassRelativeResourceLoader |
ResourceLoader
implementation that interprets plain resource paths
as relative to a given java.lang.Class
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.io.ResourceLoader
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ClassRelativeResourceLoader for the given class.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a Resource handle for the resource at the given path.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.io.DefaultResourceLoader
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.core.io.ResourceLoader
|
Create a new ClassRelativeResourceLoader for the given class.
clazz | the class to load resources through |
---|
Return a Resource handle for the resource at the given path.
The default implementation supports class path locations. This should be appropriate for standalone implementations but can be overridden, e.g. for implementations targeted at a Servlet container.
path | the path to the resource |
---|