public class TemplatesBuilderImpl extends Object implements TemplatesBuilder, TemplatesConstants
A TemplatesBuilder
implementation.
FIELD_CHOICES, FIELD_CHOICES_PREFIX, FIELD_DEFAULT, FIELD_DEFAULT_PREFIX, FIELD_DESCRIPTION, FIELD_DESCRIPTION_PREFIX, FIELD_TEMPLATE, FIELD_TYPE, UTF_8_SUFFIX
UTF_8, UTF_8_CHARSET
Constructor and Description |
---|
TemplatesBuilderImpl()
Creates a builder.
|
Modifier and Type | Method and Description |
---|---|
String |
buildTemplates(Templates templates,
Context context)
Builds the templates.
|
void |
buildTemplates(Templates templates,
DataTarget target,
Context context)
Builds the templates.
|
public String buildTemplates(Templates templates, Context context) throws BuildException
TemplatesBuilder
Builds the templates.
buildTemplates
in interface TemplatesBuilder
templates
- The templates.context
- The context.BuildException
- If an error occurs during the building.public void buildTemplates(Templates templates, DataTarget target, Context context) throws IOException, BuildException
TemplatesBuilder
Builds the templates.
buildTemplates
in interface TemplatesBuilder
templates
- The templates.target
- The target.context
- The context.IOException
- If an I/O error occurs.BuildException
- If an error occurs during the building.Copyright © 2015–2019. All rights reserved.