java.lang.Object
org.tentackle.maven.GeneratedString
String to be generated by freemarker.
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedString(freemarker.template.Configuration cfg, Map model, String templateName) Creates a string generator. -
Method Summary
-
Constructor Details
-
GeneratedString
Creates a string generator.- Parameters:
cfg- the freemarker configurationmodel- the freemarker modeltemplateName- the name of the freemarker template
-
-
Method Details
-
generate
Generates the string.- Returns:
- the generated string
- Throws:
IOException- if writing to file failedfreemarker.template.TemplateException- if some template error
-