org.pentaho.reporting.libraries.formula
Class DefaultLocalizationContext

java.lang.Object
  extended by 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
DefaultLocalizationContext()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocalizationContext

public DefaultLocalizationContext()
Method Detail

getLocale

public Locale getLocale()
Specified by:
getLocale in interface LocalizationContext

getBundle

public ResourceBundle getBundle(String id)
Specified by:
getBundle in interface LocalizationContext

getTimeZone

public TimeZone getTimeZone()
Specified by:
getTimeZone in interface LocalizationContext

getDateFormats

public List<DateFormat> getDateFormats(Type type)
Specified by:
getDateFormats in interface LocalizationContext

getNumberFormats

public List<NumberFormat> getNumberFormats()
Specified by:
getNumberFormats in interface LocalizationContext

initialize

public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config)

initialize

public void initialize(org.pentaho.reporting.libraries.base.config.Configuration config,
                       Locale locale,
                       TimeZone timeZone)