Package cdc.impex.api.templates
Interface TemplateGenerator
-
public interface TemplateGeneratorInterface of classes that can generate template files fromSheetTemplates.- Author:
- Damien Carbonne
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidgenerate(File file, SheetTemplate... sheets)Generate a template file.voidgenerate(File file, List<SheetTemplate> sheets)Generate a template file.static voidgenerate(File file, List<String> templateNames, ImpExCatalog catalog, ImpExFactoryFeatures features)
-
-
-
Method Detail
-
generate
void generate(File file, List<SheetTemplate> sheets) throws IOException
Generate a template file.- Parameters:
file- The file that must contain templates.sheets- TheSheetTemplates for which something must be generated.- Throws:
IOException- When an IO error occurs.
-
generate
default void generate(File file, SheetTemplate... sheets) throws IOException
Generate a template file.- Parameters:
file- The file that must contain templates.sheets- TheSheetTemplates for which something must be generated.- Throws:
IOException- When an IO error occurs.
-
generate
static void generate(File file, List<String> templateNames, ImpExCatalog catalog, ImpExFactoryFeatures features) throws IOException
- Throws:
IOException
-
-