public class MustacheResourceTemplateLoader extends Object implements com.samskivert.mustache.Mustache.TemplateLoader, ResourceLoaderAware
Mustache
,
Resource
Constructor and Description |
---|
MustacheResourceTemplateLoader() |
MustacheResourceTemplateLoader(String prefix,
String suffix) |
Modifier and Type | Method and Description |
---|---|
Reader |
getTemplate(String name) |
void |
setCharset(String charSet)
Set the charset.
|
void |
setResourceLoader(ResourceLoader resourceLoader)
Set the resource loader.
|
public void setCharset(String charSet)
charSet
- the charsetpublic void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
resourceLoader
- the resource loaderCopyright © 2017 Pivotal Software, Inc.. All rights reserved.