Public Member Functions | |
PropertyResourceBundle (istream &inStream) | |
virtual String | getString (const String &key) const |
PropertyResourceBundle | ( | istream & | inStream | ) |
Creates a property resource bundle.
inStream | property file to read from. |
IOException | if an error occurred when reading from the input stream. |
String getString | ( | const String & | key | ) | const [virtual] |
Gets a string for the given key from this resource bundle or one of its parents. Calling this method is equivalent to calling
key | the key for the desired string |
MissingResourceException | - if no object for the given key can be found |
Implements ResourceBundle.