Class ImporterToolHelper
java.lang.Object
com.nomagic.reportwizard.tools.importer.ImporterToolHelper
Helper class to handle imported file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetResolvedSectionName(String originalSectionName) static FilegetTemplateFile(Element element) Creates template file from attached element.static FilegetTemplateFile(String templateFileName, String templateLocation, String templateFile) Creates template file from the template file name.
-
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 pathtemplateLocation- the location of templatetemplateFile- the template file name- Returns:
- the template file
- Throws:
IOException
-
getTemplateFile
Creates template file from attached element.- Parameters:
element- attached element- Returns:
- the template file
- Throws:
IOException
-
getResolvedSectionName
-