public final class STFileGenerator extends java.lang.Object implements FileGenerator
| Constructor and Description |
|---|
STFileGenerator(java.lang.String outputFile,
java.lang.String[] templateGroupFiles,
STBuilder templateBuilder)
Creates a class code generator parameterized with a hierarchy template groups, with a builder
that will initialized the class code template and with the full name to the target output file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generate()
Generates the target fail.
|
public STFileGenerator(java.lang.String outputFile,
java.lang.String[] templateGroupFiles,
STBuilder templateBuilder)
outputFile - The full name of the target output file.templateGroupFiles - List of template group files. Important: the order is from the root
of the hierarchy to child groups.templateBuilder - Builder that is responsible for initialization of the template.public void generate()
throws java.io.IOException
generate in interface FileGeneratorjava.io.IOException - It is raised if the methods fails to create the target file.