Class ResourceBundleWrapper


  • public class ResourceBundleWrapper
    extends UResourceBundle
    just a wrapper for Java ListResourceBundles and
    • Method Detail

      • setLoadingStatus

        protected void setLoadingStatus​(int newStatus)
        Description copied from class: UResourceBundle
        This method is for setting the loading status of the resource. The status is analogous to the warning status in ICU4C.
        Specified by:
        setLoadingStatus in class UResourceBundle
      • handleGetObject

        protected Object handleGetObject​(String aKey)
        Description copied from class: UResourceBundle
        Returns the named resource from this ResourceBundle, or null if the resource is not found.
        Overrides:
        handleGetObject in class UResourceBundle
        Parameters:
        aKey - the name of the resource.
        Returns:
        the resource object.
      • getKeys

        public Enumeration<String> getKeys()
        Description copied from class: UResourceBundle
        Returns the keys in this bundle as an enumeration
        Overrides:
        getKeys in class UResourceBundle
        Returns:
        an enumeration containing key strings, which is empty if this is not a bundle or a table resource
      • getBaseName

        protected String getBaseName()
        Description copied from class: UResourceBundle
        Returns the base name of the resource bundle
        Specified by:
        getBaseName in class UResourceBundle
        Returns:
        The string representation of the base name
      • getULocale

        public ULocale getULocale()
        Description copied from class: UResourceBundle
        Returns the RFC 3066 conformant locale id of this resource bundle. This method can be used after a call to getBundleInstance() to determine whether the resource bundle returned really corresponds to the requested locale or is a fallback.
        Specified by:
        getULocale in class UResourceBundle
        Returns:
        the locale of this resource bundle