Java java.util ResourceBundle fields, constructors, methods, implement or subclass

Example usage for Java java.util ResourceBundle fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util ResourceBundle.

The text is from its open source code.

Subclass

java.util.ResourceBundle has subclasses.
Click this link to see all its subclasses.

Field

SetkeySet
A Set of the keys contained only in this ResourceBundle.

Constructor

ResourceBundle()
Sole constructor.

Method

voidclearCache()
Removes all resource bundles from the cache that have been loaded by the caller's module.
voidclearCache(ClassLoader loader)
Removes all resource bundles from the cache that have been loaded by the given class loader.
booleancontainsKey(String key)
Determines whether the given key is contained in this ResourceBundle or its parent bundles.
ResourceBundlegetBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale, and the caller module.
ResourceBundlegetBundle(String baseName, Control control)
Returns a resource bundle using the specified base name, the default locale and the specified control.
ResourceBundlegetBundle(String baseName, Locale locale)
Gets a resource bundle using the specified base name and locale, and the caller module.
ResourceBundlegetBundle(String baseName, Module module)
Gets a resource bundle using the specified base name and the default locale on behalf of the specified module.
ResourceBundlegetBundle(String baseName, Locale targetLocale, Module module)
Gets a resource bundle using the specified base name and locale on behalf of the specified module.
ResourceBundlegetBundle(String baseName, Locale targetLocale, Control control)
Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
ResourceBundlegetBundle(String baseName, Locale locale, ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class loader.
ResourceBundlegetBundle(String baseName, Locale targetLocale, ClassLoader loader, Control control)
Returns a resource bundle using the specified base name, target locale, class loader and control.
EnumerationgetKeys()
Returns an enumeration of the keys.
LocalegetLocale()
Returns the locale of this resource bundle.
ObjectgetObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
StringgetString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
StringtoString()
Returns a string representation of the object.