|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.motorola.iden.resourcebundle.ResourceBundle
com.motorola.iden.resourcebundle.PropertyResourceBundle
PropertyResourceBundle is a concrete subclass of
ResourceBundle that manages resources for a locale
using a set of static strings from a property file. See
ResourceBundle for more information about resource
bundles.
Unlike other types of resource bundle, you don't subclass
PropertyResourceBundle. Instead, you supply properties
files containing the resource data. ResourceBundle.getBundle
will automatically look for the appropriate properties file and create a
PropertyResourceBundle that refers to it. See
ResourceBundle.getBundle
for a complete description of the search and instantiation strategy.
ResourceBundle,
ListResourceBundle| Constructor Summary | |
PropertyResourceBundle(String propertyFileName)
Creates a property resource bundle. |
|
| Method Summary | |
Enumeration |
getKeys()
Implementation of ResourceBundle.getKeys. |
Object |
handleGetObject(String key)
Implements ResourceBundle.handleGetObject. |
| Methods inherited from class com.motorola.iden.resourcebundle.ResourceBundle |
getBundle, getBundle, getLocale, getObject, getString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyResourceBundle(String propertyFileName)
throws IOException
propertyFileName - property file name to read from.| Method Detail |
public Object handleGetObject(String key)
key - the key for the desired object
public Enumeration getKeys()
getKeys in class ResourceBundle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||