Class ICUResourceBundle


public class ICUResourceBundle extends UResourceBundle
  • Field Details

    • ICU_BUNDLE

      public static final String ICU_BUNDLE
      The data path to be used with getBundleInstance API
      See Also:
    • ICU_BASE_NAME

      public static final String ICU_BASE_NAME
      The base name of ICU data to be used with getBundleInstance API
      See Also:
    • ICU_COLLATION_BASE_NAME

      public static final String ICU_COLLATION_BASE_NAME
      The base name of collation data to be used with getBundleInstance API
      See Also:
    • ICU_BRKITR_NAME

      public static final String ICU_BRKITR_NAME
      The base name of rbbi data to be used with getData API
      See Also:
    • ICU_BRKITR_BASE_NAME

      public static final String ICU_BRKITR_BASE_NAME
      The base name of rbbi data to be used with getBundleInstance API
      See Also:
    • ICU_RBNF_BASE_NAME

      public static final String ICU_RBNF_BASE_NAME
      The base name of rbnf data to be used with getBundleInstance API
      See Also:
    • ICU_TRANSLIT_BASE_NAME

      public static final String ICU_TRANSLIT_BASE_NAME
      The base name of transliterator data to be used with getBundleInstance API
      See Also:
    • ICU_DATA_CLASS_LOADER

      public static final ClassLoader ICU_DATA_CLASS_LOADER
      The class loader constant to be used with getBundleInstance API
    • FROM_FALLBACK

      public static final int FROM_FALLBACK
      See Also:
    • FROM_ROOT

      public static final int FROM_ROOT
      See Also:
    • FROM_DEFAULT

      public static final int FROM_DEFAULT
      See Also:
    • FROM_LOCALE

      public static final int FROM_LOCALE
      See Also:
  • Constructor Details

    • ICUResourceBundle

      public ICUResourceBundle()
  • Method Details

    • 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(String requestedLocale)
    • getKeys

      public Enumeration<String> getKeys()
      Specified by:
      getKeys in class ResourceBundle