(File templateFile)
| 94 | public abstract class ExportHandler |
| 95 | { |
| 96 | public static ExportHandler createExportHandler(File templateFile) |
| 97 | { |
| 98 | if(templateFile != null && templateFile.getName().toLowerCase().endsWith(".ftl")) |
| 99 | { |
| 100 | return new FreeMarkerExportHandler(templateFile); |
| 101 | } |
| 102 | else |
| 103 | { |
| 104 | return new PCGenExportHandler(templateFile); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | /** A constant stating that we are using JEP parsing */ |
| 109 | private static final Float JEP_TRUE = 1.0f; |