| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ResourceBundle | Returns: A java.util.ResourceBundle from the subclass. Methods in this class will use this reference.Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class |
| public final Enumeration | getKeys()
Implements abstract java. Since we are changing the ResourceBundle extension point, must implement getKeys() using delegate getBundle().Implements java.util.ResourceBundle.getKeys; inherits that javadoc information. |
| public String | |
| protected Object | handleGetObject(String key)
Implements abstract java. Since we are changing the ResourceBundle extension point, must implement handleGetObject() using delegate getBundle().Uses getObject() call to work around protected access to ResourceBundle.handleGetObject(). |
| public static Locale | Returns: New Locale instance.Name for the locale of interest. If null, use VM default locale. localeString)Parse a locale string, return corresponding Locale instance. |
| LOCALE | back to summary |
|---|---|
| public static final String LOCALE | |
| AbstractResourceBundle | back to summary |
|---|---|
| protected AbstractResourceBundle() | |
| getBundle | back to summary |
|---|---|
| public abstract ResourceBundle getBundle() Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class
| |
| getKeys | back to summary |
|---|---|
| public final Enumeration Implements abstract java. Since we are changing the ResourceBundle extension point, must implement getKeys() using delegate getBundle().Implements java.util.ResourceBundle.getKeys; inherits that javadoc information.
| |
| getString | back to summary |
|---|---|
| public String getString(String key, Object[] args) Gets 'key' from ResourceBundle and format message using 'args'. | |
| handleGetObject | back to summary |
|---|---|
| protected Object handleGetObject(String key) Implements abstract java. Since we are changing the ResourceBundle extension point, must implement handleGetObject() using delegate getBundle().Uses getObject() call to work around protected access to ResourceBundle.handleGetObject(). Happily, this means parent tree of delegate bundle is searched for a match. Implements java.util.ResourceBundle.handleGetObject; inherits that javadoc information.
| |
| parseLocale | back to summary |
|---|---|
| public static Locale parseLocale(String localeString) Parse a locale string, return corresponding Locale instance. | |