Module java.base
Package java.util.spi

Interface ResourceBundleProvider

    • Method Summary

      All Methods
      Modifier and Type Method Description
      ResourceBundle getBundle ​(String baseName, Locale locale)
      Returns a ResourceBundle for the given bundle name and locale.
    • Method Detail

      • getBundle

        ResourceBundle getBundle​(String baseName,
         Locale locale)
        Returns a ResourceBundle for the given bundle name and locale. This method returns null if there is no ResourceBundle found for the given parameters.
        Parameters:
        baseName - the base bundle name of the resource bundle, a fully qualified class name
        locale - the locale for which the resource bundle should be loaded
        Returns:
        the ResourceBundle created for the given parameters, or null if no ResourceBundle for the given parameters is found