public class GeneratedFile extends Object
| Constructor and Description |
|---|
GeneratedFile(freemarker.template.Configuration cfg,
HashMap model,
String templateName,
File outputFile)
Creates a file to be generated.
|
public GeneratedFile(freemarker.template.Configuration cfg,
HashMap model,
String templateName,
File outputFile)
cfg - the freemarker configurationmodel - the freemarker modeltemplateName - the name of the freemarker templateoutputFile - the output filepublic void generate()
throws IOException,
freemarker.template.TemplateException
IOException - if writing to file failedfreemarker.template.TemplateException - if some template errorTentackle - distributed, domain- and model-driven