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