| java.lang.Object | |
| ↳ | java.util.ResourceBundle |
Known Direct Subclasses
|
ResourceBundle is an abstract class which is the superclass of classes which provide locale specific resources. A bundle contains a number of named resources, where the names are Strings. A bundle may have a parent bundle, when a resource is not found in a bundle, the parent bundle is searched for the resource.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| parent | The parent of this ResourceBundle. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of this class.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Finds the named resource bundle for the specified locale.
| |||||||||||
Finds the named resource bundle for the specified locale.
| |||||||||||
Finds the named resource bundle for the default locale.
| |||||||||||
Returns the names of the resources contained in this ResourceBundle.
| |||||||||||
Gets the Locale of this ResourceBundle.
| |||||||||||
Returns the named resource from this ResourceBundle.
| |||||||||||
Returns the named resource from this ResourceBundle.
| |||||||||||
Returns the named resource from this ResourceBundle.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the named resource from this ResourceBundle, or null if the
resource is not found.
| |||||||||||
Sets the parent resource bundle of this ResourceBundle.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
The parent of this ResourceBundle.
Constructs a new instance of this class.
Finds the named resource bundle for the specified locale.
| bundleName | the name of the resource bundle |
|---|---|
| locale | the locale |
| loader | the ClassLoader to use |
| MissingResourceException | when the resource bundle cannot be found |
|---|
Finds the named resource bundle for the specified locale.
| bundleName | the name of the resource bundle |
|---|---|
| locale | the locale |
| MissingResourceException | when the resource bundle cannot be found |
|---|
Finds the named resource bundle for the default locale.
| bundleName | the name of the resource bundle |
|---|
| MissingResourceException | when the resource bundle cannot be found |
|---|
Returns the names of the resources contained in this ResourceBundle.
Gets the Locale of this ResourceBundle.
Returns the named resource from this ResourceBundle.
| key | the name of the resource |
|---|
| MissingResourceException | when the resource is not found |
|---|
Returns the named resource from this ResourceBundle.
| key | the name of the resource |
|---|
| MissingResourceException | when the resource is not found |
|---|
Returns the named resource from this ResourceBundle.
| key | the name of the resource |
|---|
| MissingResourceException | when the resource is not found |
|---|
Returns the named resource from this ResourceBundle, or null if the resource is not found.
| key | the name of the resource |
|---|
Sets the parent resource bundle of this ResourceBundle. The parent is searched for resources which are not found in this resource bundle.
| bundle | the parent resource bundle |
|---|