| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.logging |
Provides the classes and interfaces of the Java
TM 2 platform's core logging facilities.
|
| javax.accessibility |
Defines a contract between user-interface components and an assistive technology that provides access to those components.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Window.applyResourceBundle(ResourceBundle
Deprecated.
As of J2SE 1.4, replaced by
Component.applyComponentOrientation.
|
static ComponentOrientation |
ComponentOrientation.getOrientation(ResourceBundle
Deprecated.
As of J2SE 1.4, use
ComponentOrientation.
|
| Modifier and Type | Class and 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected ResourceBundle |
ResourceBundle.parent
The parent bundle of this bundle.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceBundle |
ResourceBundle.getBundle(String
Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String
Gets a resource bundle using the specified base name and locale, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String
Gets a resource bundle using the specified base name, locale, and class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String
Returns a resource bundle using the specified base name, target locale, class loader and control.
|
static ResourceBundle |
ResourceBundle.getBundle(String
Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String
Returns a resource bundle using the specified base name, the default locale and the specified control.
|
ResourceBundle |
ResourceBundle.Control.newBundle(String
Instantiates a resource bundle for the given bundle name of the given format and locale, using the given class loader if necessary.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourceBundle.Control.needsReload(String
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
Sets the parent bundle of this bundle.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceBundle |
LogRecord.getResourceBundle()
Get the localization resource bundle
|
ResourceBundle |
Logger.getResourceBundle()
Retrieve the localization resource bundle for this logger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Logger.logrb(Level
Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.
|
void |
Logger.logrb(Level
Log a message, specifying source class, method, and resource bundle, with associated Throwable information.
|
void |
LogRecord.setResourceBundle(ResourceBundle
Set the localization resource bundle.
|
void |
Logger.setResourceBundle(ResourceBundle
Sets a resource bundle on this logger.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessibleResourceBundle
Deprecated.
This class is deprecated as of version 1.3 of the Java Platform.
|