When using the ProcessReport.getTemplateMetrics() method, where do I get the file stream parameter to use in my custom function class? Also, how do I get the locale from the net.windward.xmlreport.TemplateInfo object that the method returns?
You should be able to get the locale from the properties file by using the following code as your custom function executes in the address space
of the Java Engine:
String val = WindwardReports.getProperty("report.locale");
getProperty() is a public static method which returns a value from the WindwardReports.properties file.