Package cdc.impex.api
Interface TemplateGenerator
-
public interface TemplateGeneratorInterface of classes that can generate template files fromSheetTemplates.- Author:
- Damien Carbonne
-
-
Method Summary
All 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.
-
-
-
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.
-
-