@FunctionalInterface public interface TemplateRenderer
| Modifier and Type | Method and Description |
|---|---|
String |
render(String templateName,
Map<String,?> model)
Render the template with the specified name and the specified model.
|
String render(String templateName, Map<String,?> model) throws IOException
templateName - the name of the templatemodel - the model to useIOException - if rendering the template failedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.