Set the current output filter. The current output filter will be chosen based on the extension of the passed in template file name. @param templateFilename (used to create instance of CharacterFilter)
(String templateFilename)
| 66 | * @param templateFilename (used to create instance of CharacterFilter) |
| 67 | */ |
| 68 | public static void setCurrentOutputFilter(String templateFilename) |
| 69 | { |
| 70 | try |
| 71 | { |
| 72 | outputFilter = new PatternFilter(templateFilename); |
| 73 | } |
| 74 | catch (IOException e) |
| 75 | { |
| 76 | outputFilter = new CharacterFilter(templateFilename); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Set the current output filter |
no outgoing calls