templateConfigurations = \ | |
MergingTemplateConfigurationFactory( \ | |
ConditionalTemplateConfigurationFactory( \ | |
FileNameGlobMatcher("*.stats.*"), \ | |
TemplateConfiguration( \ | |
dateTimeFormat = "iso", \ | |
dateFormat = "iso", \ | |
timeFormat = "iso", \ | |
timeZone = TimeZone("UTC") \ | |
) \ | |
), \ | |
ConditionalTemplateConfigurationFactory( \ | |
PathGlobMatcher("mail/**"), \ | |
TemplateConfiguration(encoding = "utf-8") \ | |
), \ | |
FirstMatchTemplateConfigurationFactory( \ | |
ConditionalTemplateConfigurationFactory( \ | |
FileExtensionMatcher("xml"), \ | |
TemplateConfiguration(outputFormat = XMLOutputFormat()) \ | |
), \ | |
ConditionalTemplateConfigurationFactory( \ | |
OrMatcher( \ | |
FileExtensionMatcher("html"), \ | |
FileExtensionMatcher("htm") \ | |
), \ | |
TemplateConfiguration(outputFormat = HTMLOutputFormat()) \ | |
), \ | |
allowNoMatch = true \ | |
) \ | |
) |