public class DefaultLocalizationContext extends Object implements LocalizationContext, Serializable
| Constructor and Description |
|---|
DefaultLocalizationContext() |
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
getBundle(String id) |
List<DateFormat> |
getDateFormats(Type type) |
Locale |
getLocale() |
List<NumberFormat> |
getNumberFormats() |
TimeZone |
getTimeZone() |
void |
initialize(org.pentaho.reporting.libraries.base.config.Configuration config) |
void |
initialize(org.pentaho.reporting.libraries.base.config.Configuration config,
Locale locale,
TimeZone timeZone) |
public Locale getLocale()
getLocale in interface LocalizationContextpublic ResourceBundle getBundle(String id)
getBundle in interface LocalizationContextpublic TimeZone getTimeZone()
getTimeZone in interface LocalizationContextpublic List<DateFormat> getDateFormats(Type type)
getDateFormats in interface LocalizationContextpublic List<NumberFormat> getNumberFormats()
getNumberFormats in interface LocalizationContextpublic void initialize(org.pentaho.reporting.libraries.base.config.Configuration config)