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 LocalizationContext
public ResourceBundle getBundle(String id)
getBundle
in interface LocalizationContext
public TimeZone getTimeZone()
getTimeZone
in interface LocalizationContext
public List<DateFormat> getDateFormats(Type type)
getDateFormats
in interface LocalizationContext
public List<NumberFormat> getNumberFormats()
getNumberFormats
in interface LocalizationContext
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config)