Interface ResourceBundleRegistry


public interface ResourceBundleRegistry
ResourceBundleRegistry

ResourceBundleRegistry enables to look up a resource bundle.

  • Method Details

    • getBundle

      ResourceBundle getBundle(String basename)
      Returns the resource bundle based on the specific basename for the default locale.
      Parameters:
      basename -
      Returns:
      the resource bundle based on the specific basename for the default locale.
    • getBundleForPreview

      ResourceBundle getBundleForPreview(String basename)
      Returns the resource bundle based on the specific basename for the default locale.
      Parameters:
      basename -
      Returns:
      the resource bundle based on the specific basename for the default locale.
    • getBundle

      ResourceBundle getBundle(String basename, Locale locale)
      Returns the resource bundle based on the specific basename and locale.
      Parameters:
      basename -
      locale -
      Returns:
      the resource bundle based on the specific basename and locale.
    • getBundleForPreview

      ResourceBundle getBundleForPreview(String basename, Locale locale)
      Returns the resource bundle based on the specific basename and locale.
      Parameters:
      basename -
      locale -
      Returns:
      the resource bundle based on the specific basename and locale.