public class MustacheTemplateAvailabilityProvider extends java.lang.Object implements TemplateAvailabilityProvider
TemplateAvailabilityProvider that provides availability information for
Mustache view templates.| Constructor and Description |
|---|
MustacheTemplateAvailabilityProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTemplateAvailable(java.lang.String view,
org.springframework.core.env.Environment environment,
java.lang.ClassLoader classLoader,
org.springframework.core.io.ResourceLoader resourceLoader)
Returns
true if a template is available for the given view. |
public MustacheTemplateAvailabilityProvider()
public boolean isTemplateAvailable(java.lang.String view,
org.springframework.core.env.Environment environment,
java.lang.ClassLoader classLoader,
org.springframework.core.io.ResourceLoader resourceLoader)
TemplateAvailabilityProvidertrue if a template is available for the given view.isTemplateAvailable in interface TemplateAvailabilityProviderview - the view nameenvironment - the environmentclassLoader - the class loaderresourceLoader - the resource loader