Class FtlWriter
java.lang.Object
org.apache.ofbiz.widget.renderer.macro.FtlWriter
Processes FTL templates and writes result to Appendables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processFtl
(Appendable writer, RenderableFtl renderableFtl) Process the given RenderableFtl as a template and write the result to the Appendable.void
processFtlString
(Appendable writer, Locale locale, String ftlString) Process the given FTL string as a template and write the result to the Appendable.
-
Constructor Details
-
FtlWriter
- Throws:
IOException
-
-
Method Details
-
processFtl
Process the given RenderableFtl as a template and write the result to the Appendable.- Parameters:
writer
- The Appendable to write the result of the template processing to.renderableFtl
- The Renderable FTL to process as a template.
-
processFtlString
Process the given FTL string as a template and write the result to the Appendable.- Parameters:
writer
- The Appendable to write the result of the template processing to.ftlString
- The FTL string to process as a template.
-