Uses of Class java.util.ResourceBundle (Java SE 15 & JDK 15)
Description: use: module: java.base, package: java.util, class: ResourceBundle

# Uses of Class
java.util.ResourceBundle

Packages that use ResourceBundle
Package | Description
--- | ---
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.util | Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
java.util.logging | Provides the classes and interfaces of the Java 2 platform's core logging facilities.
java.util.spi | Service provider classes for the classes in the java.util package.
javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components.

- ## Uses of ResourceBundle in java.awt

  Methods in java.awt with parameters of type ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | Window.`applyResourceBundle​(ResourceBundle rb)` | Deprecated. As of J2SE 1.4, replaced by `Component.applyComponentOrientation`.
  `static ComponentOrientation` | ComponentOrientation.`getOrientation​(ResourceBundle bdl)` | Deprecated. As of J2SE 1.4, use `ComponentOrientation.getOrientation(java.util.Locale)`.

- ## Uses of ResourceBundle in java.lang

  Methods in java.lang with parameters of type ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `System.Logger` | System.LoggerFinder.`getLocalizedLogger​(String name, ResourceBundle bundle, Module module)` | Returns a localizable instance of `Logger` for the given `module`.
  `static System.Logger` | System.`getLogger​(String name, ResourceBundle bundle)` | Returns a localizable instance of `Logger` for the caller's use.
  `void` | System.Logger.`log​(System.Logger.Level level, ResourceBundle bundle, String format, Object... params)` | Logs a message with resource bundle and an optional list of parameters.
  `void` | System.Logger.`log​(System.Logger.Level level, ResourceBundle bundle, String msg, Throwable thrown)` | Logs a localized message associated with a given throwable.

- ## Uses of ResourceBundle in java.util

  Subclasses of ResourceBundle in java.util
  Modifier and Type | Class | Description
  --- | --- | ---
  `class` | `ListResourceBundle` | `ListResourceBundle` is an abstract subclass of `ResourceBundle` that manages resources for a locale in a convenient and easy to use list.
  `class` | `PropertyResourceBundle` | `PropertyResourceBundle` is a concrete subclass of `ResourceBundle` that manages resources for a locale using a set of static strings from a property file.

  Fields in java.util declared as ResourceBundle
  Modifier and Type | Field | Description
  --- | --- | ---
  `protected ResourceBundle` | ResourceBundle.`parent` | The parent bundle of this bundle.

  Methods in java.util that return ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName)` | Gets a resource bundle using the specified base name, the default locale, and the caller module.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Module module)` | Gets a resource bundle using the specified base name and the default locale on behalf of the specified module.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Locale locale)` | Gets a resource bundle using the specified base name and locale, and the caller module.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Locale locale, ClassLoader loader)` | Gets a resource bundle using the specified base name, locale, and class loader.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)` | Returns a resource bundle using the specified base name, target locale, class loader and control.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Locale targetLocale, Module module)` | Gets a resource bundle using the specified base name and locale on behalf of the specified module.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, Locale targetLocale, ResourceBundle.Control control)` | Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
  `static ResourceBundle` | ResourceBundle.`getBundle​(String baseName, ResourceBundle.Control control)` | Returns a resource bundle using the specified base name, the default locale and the specified control.
  `ResourceBundle` | ResourceBundle.Control.`newBundle​(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)` | Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.

  Methods in java.util with parameters of type ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `boolean` | ResourceBundle.Control.`needsReload​(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)` | Determines if the expired `bundle` in the cache needs to be reloaded based on the loading time given by `loadTime` or some other criteria.
  `protected void` | ResourceBundle.`setParent​(ResourceBundle parent)` | Sets the parent bundle of this bundle.

- ## Uses of ResourceBundle in java.util.logging

  Methods in java.util.logging that return ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `ResourceBundle` | Logger.`getResourceBundle()` | Retrieve the localization resource bundle for this logger.
  `ResourceBundle` | LogRecord.`getResourceBundle()` | Get the localization resource bundle

  Methods in java.util.logging with parameters of type ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | Logger.`logrb​(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)` | Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.
  `void` | Logger.`logrb​(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)` | Log a message, specifying source class, method, and resource bundle, with associated Throwable information.
  `void` | Logger.`logrb​(Level level, ResourceBundle bundle, String msg, Object... params)` | Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.
  `void` | Logger.`logrb​(Level level, ResourceBundle bundle, String msg, Throwable thrown)` | Log a message, specifying source class, method, and resource bundle, with associated Throwable information.
  `void` | Logger.`setResourceBundle​(ResourceBundle bundle)` | Sets a resource bundle on this logger.
  `void` | LogRecord.`setResourceBundle​(ResourceBundle bundle)` | Set the localization resource bundle.

- ## Uses of ResourceBundle in java.util.spi

  Methods in java.util.spi that return ResourceBundle
  Modifier and Type | Method | Description
  --- | --- | ---
  `ResourceBundle` | AbstractResourceBundleProvider.`getBundle​(String baseName, Locale locale)` | Returns a `ResourceBundle` for the given `baseName` and `locale`.
  `ResourceBundle` | ResourceBundleProvider.`getBundle​(String baseName, Locale locale)` | Returns a `ResourceBundle` for the given bundle name and locale.

- ## Uses of ResourceBundle in javax.accessibility

  Subclasses of ResourceBundle in javax.accessibility
  Modifier and Type | Class | Description
  --- | --- | ---
  `class` | `AccessibleResourceBundle` | Deprecated. This class is deprecated as of version 1.3 of the Java Platform