Package mondrian.i18n

Class LocalizingDynamicSchemaProcessor

    • Constructor Detail

      • LocalizingDynamicSchemaProcessor

        public LocalizingDynamicSchemaProcessor()
        Creates a new instance of LocalizingDynamicSchemaProcessor
    • Method Detail

      • populate

        void populate​(String propFile)
        Populates the bundle with the given resource.

        The name of the property file is typically the name of a class, as per ResourceBundle.getBundle(String). However, for backwards compatibility, the name can contain slashes (which are converted to dots) and end with ".properties" (which is removed). Therefore "com/acme/MyResource.properties" is equivalent to "com.acme.MyResource".

        Parameters:
        propFile - The name of the property file
        See Also:
        MondrianProperties.LocalePropFile
      • getLocale

        public String getLocale()
        Returns the property locale.
        Returns:
        Value of property locale.
      • setLocale

        public void setLocale​(String locale)
        Sets the property locale.
        Parameters:
        locale - New value of property locale.