public class ResourceBundle
extends Object
GDK enhancements for ResourceBundle.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static ResourceBundle |
getBundle(ResourceBundle self, String bundleName)Works exactly like ResourceBundle.getBundle(String). |
|
public static ResourceBundle |
getBundle(ResourceBundle self, String bundleName, Locale locale)Works exactly like ResourceBundle.getBundle(String, Locale). |
| Methods inherited from class | Name |
|---|---|
class Object |
addShutdownHook, any, any, asBoolean, asType, collect, collect, collect, dump, each, eachMatch, eachMatch, eachWithIndex, every, every, find, find, findAll, findAll, findIndexOf, findIndexOf, findIndexValues, findIndexValues, findLastIndexOf, findLastIndexOf, findResult, findResult, findResult, findResult, getAt, getMetaClass, getMetaPropertyValues, getProperties, grep, grep, hasProperty, identity, inject, inject, inspect, invokeMethod, is, isCase, isNotCase, iterator, metaClass, print, print, printf, printf, println, println, println, putAt, respondsTo, respondsTo, setMetaClass, sleep, sleep, split, sprintf, sprintf, stream, tap, toString, use, use, use, with, with, withCloseable, withCloseable, withMethodClosure, withStream, withStream, withTraits |
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.
self - placeholder variable used by Groovy categories; ignored for default static methodsbundleName - the name of the bundle.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.
self - placeholder variable used by Groovy categories; ignored for default static methodsbundleName - the name of the bundle.locale - the specific locale