public class SimpleStringTemplateLoader extends Object implements freemarker.cache.TemplateLoader
TemplateLoader
字符串实现形式Constructor and Description |
---|
SimpleStringTemplateLoader() |
Modifier and Type | Method and Description |
---|---|
void |
closeTemplateSource(Object templateSource) |
Object |
findTemplateSource(String name) |
long |
getLastModified(Object templateSource) |
Reader |
getReader(Object templateSource,
String encoding) |
public Object findTemplateSource(String name)
findTemplateSource
in interface freemarker.cache.TemplateLoader
public long getLastModified(Object templateSource)
getLastModified
in interface freemarker.cache.TemplateLoader
public Reader getReader(Object templateSource, String encoding)
getReader
in interface freemarker.cache.TemplateLoader
public void closeTemplateSource(Object templateSource)
closeTemplateSource
in interface freemarker.cache.TemplateLoader
Copyright © 2024. All rights reserved.