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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
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 |
---|