Package | Description |
---|---|
freemarker.cache |
Template loading and caching.
|
Modifier and Type | Method and Description |
---|---|
TemplateLookupResult |
TemplateLookupContext.createNegativeLookupResult()
Creates a not-found lookup result that then can be used as the return value of
TemplateLookupStrategy.lookup(TemplateLookupContext) . |
abstract TemplateLookupResult |
TemplateLookupStrategy.lookup(TemplateLookupContext ctx)
Finds the template source that matches the template name, locale (if not
null ) and other parameters
specified in the TemplateLookupContext . |
abstract TemplateLookupResult |
TemplateLookupContext.lookupWithAcquisitionStrategy(java.lang.String templateName)
Finds the template source based on its normalized name; handles
* steps (so called acquisition),
otherwise it just calls TemplateLoader.findTemplateSource(String) . |
abstract TemplateLookupResult |
TemplateLookupContext.lookupWithLocalizedThenAcquisitionStrategy(java.lang.String templateName,
java.util.Locale templateLocale)
Finds the template source based on its normalized name; tries localized variations going from most
specific to less specific, and for each variation it delegates to
TemplateLookupContext.lookupWithAcquisitionStrategy(String) . |