|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.ResourceBundle
com.sun.xml.fastinfoset.AbstractResourceBundle
public abstract class AbstractResourceBundle
This class contains methods common to all *ResourceBundle classes
| Field Summary | |
|---|---|
static String |
LOCALE
|
| Fields inherited from class java.util.ResourceBundle |
|---|
parent |
| Constructor Summary | |
|---|---|
AbstractResourceBundle()
|
|
| Method Summary | |
|---|---|
abstract ResourceBundle |
getBundle()
Subclasses of this class must implement this method so that the correct resource bundle is passed to methods in this class |
static String |
getBundleName()
|
Enumeration |
getKeys()
Since we are changing the ResourceBundle extension point, must implement getKeys() using delegate getBundle(). |
String |
getString(String key,
Object[] args)
Gets 'key' from ResourceBundle and format mesage using 'args'. |
String |
getString(String key,
Object[] args,
Locale locale)
Gets 'key' from ResourceBundle and format mesage using 'args'. |
protected Object |
handleGetObject(String key)
Since we are changing the ResourceBundle extension point, must implement handleGetObject() using delegate getBundle(). |
static Locale |
parseLocale(String localeString)
Parse a locale string, return corresponding Locale instance. |
static void |
setBundleName(String name)
|
| Methods inherited from class java.util.ResourceBundle |
|---|
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LOCALE
| Constructor Detail |
|---|
public AbstractResourceBundle()
| Method Detail |
|---|
public static String getBundleName()
public static void setBundleName(String name)
public String getString(String key,
Object[] args)
key - String key for message.args - Array of arguments for message.
public String getString(String key,
Object[] args,
Locale locale)
key - String key for message.args - Array of arguments for message.locale - Locale in which to perform key lookup.
public static Locale parseLocale(String localeString)
localeString - Name for the locale of interest. If null, use VM default locale.
public abstract ResourceBundle getBundle()
protected Object handleGetObject(String key)
handleGetObject in class ResourceBundleResourceBundle.handleGetObject(String)public final Enumeration getKeys()
getKeys in class ResourceBundleResourceBundle.getKeys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||