public final class InstanceTemplateHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
File templateFile,
File out)
Reads the import values of the instances and injects them into the template file.
|
static void |
injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
File templateFile,
Writer writer)
Reads the import values of the instances and injects them into the template file.
|
static void |
injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
String templateFilePath,
File targetFile)
Reads the import values of the instances and injects them into the template file.
|
static void |
injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
String templateFilePath,
Writer writer)
Reads the import values of the instances and injects them into the template file.
|
public static void injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
File templateFile,
Writer writer)
throws IOException
See test resources to see the associated way to write templates
instance - the instance whose imports must be injectedtemplateFile - the template filewriter - a writerIOException - if something went wrongpublic static void injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
String templateFilePath,
Writer writer)
throws IOException
See test resources to see the associated way to write templates
instance - the instance whose imports must be injectedtemplateFilePath - the path of the template filewriter - a writerIOException - if something went wrongpublic static void injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
String templateFilePath,
File targetFile)
throws IOException
See test resources to see the associated way to write templates
instance - the instance whose imports must be injectedtemplateFilePath - the path of the template filetargetFile - the file to write intoIOException - if something went wrongpublic static void injectInstanceImports(net.roboconf.core.model.beans.Instance instance,
File templateFile,
File out)
throws IOException
See test resources to see the associated way to write templates
instance - the instance whose imports must be injectedtemplateFile - the template fileout - the file to write intoIOException - if something went wrongCopyright © 2017. All rights reserved.