|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.java.util.ResourceBundle
public abstract class ResourceBundle
An implementation of Java SE's ResourceBundle class. Blackberry provides its own ResourceBundle class, in a different namespace, but the biggest problem with that version is it only supports retrieving resources by integer keys; not string keys like Java SE does.
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
protected ResourceBundle |
parent
|
static java.lang.String |
PROPERTIES_FILE
|
static java.lang.String |
XLIFF_FILE
|
Constructor Summary | |
---|---|
protected |
ResourceBundle()
|
protected |
ResourceBundle(java.lang.String baseName,
Locale locale)
Constructor |
Method Summary | |
---|---|
static ResourceBundle |
getBundle(java.lang.String baseName)
Get a ResourceBundle using the default locale and provided baseName |
static ResourceBundle |
getBundle(java.lang.String baseName,
Locale locale)
Get a ResourceBundle for the specified baseName and Locale |
abstract java.util.Enumeration |
getKeys()
|
Locale |
getLocale()
Get the Locale associated with this ResourceBundle |
abstract java.lang.Object |
getObject(java.lang.String key)
Subclasses must override this to return the Object associated with the specified key |
protected ResourceBundle |
getParent()
Get the parent of this ResourceBundle |
java.lang.String |
getString(java.lang.String key)
Return the value associated with this key as a String. |
java.lang.String[] |
getStringArray(java.lang.String key)
Return the value associated with this key as a String[]. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
public static final java.lang.String PROPERTIES_FILE
public static final java.lang.String XLIFF_FILE
protected ResourceBundle parent
Constructor Detail |
---|
protected ResourceBundle(java.lang.String baseName, Locale locale)
baseName
- locale
- protected ResourceBundle()
Method Detail |
---|
public static ResourceBundle getBundle(java.lang.String baseName)
baseName
-
public static ResourceBundle getBundle(java.lang.String baseName, Locale locale)
baseName
- locale
-
public Locale getLocale()
public abstract java.lang.Object getObject(java.lang.String key)
key
-
public java.lang.String getString(java.lang.String key)
key
-
public java.lang.String[] getStringArray(java.lang.String key)
key
-
protected ResourceBundle getParent()
public abstract java.util.Enumeration getKeys()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |