Class ICUResourceBundle

    • Field Detail

      • ICU_BUNDLE

        public static final java.lang.String ICU_BUNDLE
        The data path to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_BASE_NAME

        public static final java.lang.String ICU_BASE_NAME
        The base name of ICU data to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_COLLATION_BASE_NAME

        public static final java.lang.String ICU_COLLATION_BASE_NAME
        The base name of collation data to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_BRKITR_NAME

        public static final java.lang.String ICU_BRKITR_NAME
        The base name of rbbi data to be used with getData API
        See Also:
        Constant Field Values
      • ICU_BRKITR_BASE_NAME

        public static final java.lang.String ICU_BRKITR_BASE_NAME
        The base name of rbbi data to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_RBNF_BASE_NAME

        public static final java.lang.String ICU_RBNF_BASE_NAME
        The base name of rbnf data to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_TRANSLIT_BASE_NAME

        public static final java.lang.String ICU_TRANSLIT_BASE_NAME
        The base name of transliterator data to be used with getBundleInstance API
        See Also:
        Constant Field Values
      • ICU_DATA_CLASS_LOADER

        public static final java.lang.ClassLoader ICU_DATA_CLASS_LOADER
        The class loader constant to be used with getBundleInstance API
    • Constructor Detail

      • ICUResourceBundle

        public ICUResourceBundle()
    • Method Detail

      • 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
      • setLoadingStatus

        public void setLoadingStatus​(int newStatus)
      • getLoadingStatus

        public int getLoadingStatus()
        Returns the loading status of a particular resource.
        Returns:
        FROM_FALLBACK if the resource is fetched from fallback bundle FROM_ROOT if the resource is fetched from root bundle. FROM_DEFAULT if the resource is fetched from the default locale.
      • setLoadingStatus

        public void setLoadingStatus​(java.lang.String requestedLocale)
      • getKeys

        public java.util.Enumeration<java.lang.String> getKeys()
        Specified by:
        getKeys in class java.util.ResourceBundle