Class SiteAwareTemplateLookupStrategy
- java.lang.Object
-
- freemarker.cache.TemplateLookupStrategy
-
- org.craftercms.engine.view.freemarker.SiteAwareTemplateLookupStrategy
-
public class SiteAwareTemplateLookupStrategy extends freemarker.cache.TemplateLookupStrategy
Extension ofTemplateLookupStrategy
that looks for locale specific templates- Since:
- 4.0.0
- Author:
- joseross
-
-
Constructor Summary
Constructors Constructor Description SiteAwareTemplateLookupStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description freemarker.cache.TemplateLookupResult
lookup(freemarker.cache.TemplateLookupContext ctx)
-
-
-
Method Detail
-
lookup
public freemarker.cache.TemplateLookupResult lookup(freemarker.cache.TemplateLookupContext ctx) throws IOException
- Specified by:
lookup
in classfreemarker.cache.TemplateLookupStrategy
- Throws:
IOException
-
-