Package org.apache.jmeter.util
Class TemplateUtil
-
- All Implemented Interfaces:
public final class TemplateUtil
Class used to process freemarkers templates
- Since:
5.1
-
-
Method Summary
Modifier and Type Method Description static Configuration
getTemplateConfig()
Give a basic templateConfiguration static void
processTemplate(File template, File outputFile, Configuration templateConfig, Map<String, String> data)
Process a given freemarker template and put its result in a new folder. -
-
Method Detail
-
getTemplateConfig
static Configuration getTemplateConfig()
Give a basic templateConfiguration
- Returns:
a Configuration
-
processTemplate
static void processTemplate(File template, File outputFile, Configuration templateConfig, Map<String, String> data)
Process a given freemarker template and put its result in a new folder.
- Parameters:
template
- file that contains the freemarker template to processoutputFile
- File created from templatetemplateConfig
- Configuration of the templatedata
- to inject in the template
-
-
-
-