Package: java.util

## Class ResourceBundle

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `static ResourceBundle` | `getBundle(String bundleName)` Works exactly like ResourceBundle.getBundle(String).
    `static ResourceBundle` | `getBundle(String bundleName, Locale locale)` Works exactly like ResourceBundle.getBundle(String, Locale).

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `sum`, `sum`, `sum`, `sum`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `withTraits`

- - ### Methods Detail

    - #### public static ResourceBundle getBundle(String bundleName)

      Works exactly like ResourceBundle.getBundle(String). This is needed because the java method depends on a particular stack configuration that is not guaranteed in Groovy when calling the Java method.

      Parameters:
        `bundleName` - the name of the bundle.
      Returns:
        the resource bundle
      Since:
        1.6.0
      See Also:
        ResourceBundle#getBundle(java.lang.String)

    - #### public static ResourceBundle getBundle(String bundleName, Locale locale)

      Works exactly like ResourceBundle.getBundle(String, Locale). This is needed because the java method depends on a particular stack configuration that is not guaranteed in Groovy when calling the Java method.

      Parameters:
        `bundleName` - the name of the bundle.
        `locale` - the specific locale
      Returns:
        the resource bundle
      Since:
        1.6.0
      See Also:
        ResourceBundle#getBundle(java.lang.String, java.util.Locale)