Class ContentStoreResourceLoader
- java.lang.Object
-
- org.springframework.core.io.DefaultResourceLoader
-
- org.craftercms.engine.util.spring.ContentStoreResourceLoader
-
- All Implemented Interfaces:
org.springframework.core.io.ResourceLoader
public class ContentStoreResourceLoader extends org.springframework.core.io.DefaultResourceLoader
ResourceLoader
that resolves paths a Crafter content store resource.- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description protected SiteContext
siteContext
-
Constructor Summary
Constructors Constructor Description ContentStoreResourceLoader(SiteContext siteContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.core.io.Resource
getResourceByPath(String path)
-
-
-
Field Detail
-
siteContext
protected SiteContext siteContext
-
-
Constructor Detail
-
ContentStoreResourceLoader
public ContentStoreResourceLoader(SiteContext siteContext)
-
-
Method Detail
-
getResourceByPath
protected org.springframework.core.io.Resource getResourceByPath(String path)
- Overrides:
getResourceByPath
in classorg.springframework.core.io.DefaultResourceLoader
-
-