-
Notifications
You must be signed in to change notification settings - Fork 0
TemplateManager
Mohammad Badar Hashimi edited this page Jan 26, 2020
·
1 revision
java.io.InputStream merge(java.io.InputStream template,
java.util.Map<java.lang.String,java.lang.Object> values)
throws java.io.IOException
Method to merge template , where template content will be pass as inputSteam
--
boolean merge(java.lang.String templateName,
java.io.Writer writer,
java.util.Map<java.lang.String,java.lang.Object> values)
throws java.io.IOException
Merges a template and puts the rendered stream into the writer. The default encoding that template manager uses to read template files is UTF-8
--
boolean merge(java.lang.String templateName,
java.io.Writer writer,
java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.String encodingType)
throws java.io.IOException
Method to merge template using provided encoding type