public interface TemplateEngine
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
render(java.lang.String templateName)
|
|
public java.lang.String |
render(java.lang.String templateName, java.util.Map<java.lang.String, java.lang.Object> data)
|
templateName
- The name of the template e.g. index.ftl
templateName
- templateName The name of the template e.g. index.ftldata
- Data to pass to the template.