templateConfigurers = \ | |
MergingTemplateConfigurerFactory( \ | |
ConditionalTemplateConfigurerFactory( \ | |
FileNameGlobMatcher("*.stats.*"), \ | |
TemplateConfigurer( \ | |
dateTimeFormat = "iso", \ | |
dateFormat = "iso", \ | |
timeFormat = "iso", \ | |
timeZone = TimeZone("UTC") \ | |
) \ | |
), \ | |
ConditionalTemplateConfigurerFactory( \ | |
PathGlobMatcher("mail/**"), \ | |
TemplateConfigurer(encoding = "utf-8") \ | |
), \ | |
FirstMatchTemplateConfigurerFactory( \ | |
ConditionalTemplateConfigurerFactory( \ | |
FileExtensionMatcher("xml"), \ | |
TemplateConfigurer(outputFormat = XMLOutputFormat()) \ | |
), \ | |
ConditionalTemplateConfigurerFactory( \ | |
OrMatcher( \ | |
FileExtensionMatcher("html"), \ | |
FileExtensionMatcher("htm") \ | |
), \ | |
TemplateConfigurer(outputFormat = HTMLOutputFormat()) \ | |
), \ | |
allowNoMatch = true \ | |
) \ | |
) |