Class ImporterToolHelper

java.lang.Object
com.nomagic.reportwizard.tools.importer.ImporterToolHelper

@OpenApiAll public class ImporterToolHelper extends Object
Helper class to handle imported file.
  • Constructor Details

    • ImporterToolHelper

      public ImporterToolHelper()
  • Method Details

    • getTemplateFile

      public static File getTemplateFile(String templateFileName, String templateLocation, String templateFile) throws IOException
      Creates template file from the template file name.
      Parameters:
      templateFileName - the child Template path
      templateLocation - the location of template
      templateFile - the template file name
      Returns:
      the template file
      Throws:
      IOException
    • getTemplateFile

      @CheckForNull public static File getTemplateFile(Element element) throws IOException
      Creates template file from attached element.
      Parameters:
      element - attached element
      Returns:
      the template file
      Throws:
      IOException
    • getResolvedSectionName

      public static String getResolvedSectionName(String originalSectionName)