Allows for a per-instance override of the locale, if supported by the underlying Report. Otherwise takes the default host locale. @param locale The overridden locale.
(Locale locale)
| 188 | * The overridden locale. |
| 189 | */ |
| 190 | public void setLocale(Locale locale) |
| 191 | { |
| 192 | if (locale != null && report != null && report instanceof LocalizableReport) |
| 193 | { |
| 194 | ((LocalizableReport) report).setLocale(locale); |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | /** |
| 199 | * Validate the file. Return true if no errors or warnings found. |