Package cdc.impex.api

Interface TemplateGenerator


  • public interface TemplateGenerator
    Interface of classes that can generate template files from SheetTemplates.
    Author:
    Damien Carbonne
    • 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 - The SheetTemplates 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 - The SheetTemplates for which something must be generated.
        Throws:
        IOException - When an IO error occurs.