Class DefaultLocalizationContext
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.DefaultLocalizationContext
-
- All Implemented Interfaces:
Serializable,LocalizationContext
public class DefaultLocalizationContext extends Object implements LocalizationContext, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultLocalizationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundlegetBundle(String id)List<DateFormat>getDateFormats(Type type)LocalegetLocale()List<NumberFormat>getNumberFormats()TimeZonegetTimeZone()voidinitialize(org.pentaho.reporting.libraries.base.config.Configuration config)voidinitialize(org.pentaho.reporting.libraries.base.config.Configuration config, Locale locale, TimeZone timeZone)
-
-
-
Method Detail
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceLocalizationContext
-
getBundle
public ResourceBundle getBundle(String id)
- Specified by:
getBundlein interfaceLocalizationContext
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZonein interfaceLocalizationContext
-
getDateFormats
public List<DateFormat> getDateFormats(Type type)
- Specified by:
getDateFormatsin interfaceLocalizationContext
-
getNumberFormats
public List<NumberFormat> getNumberFormats()
- Specified by:
getNumberFormatsin interfaceLocalizationContext
-
initialize
public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config)
-
-