PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file. More...
Inherits log4cxx::helpers::ResourceBundle.
Classes | |
class | ClazzPropertyResourceBundle |
Public Member Functions | |
virtual const helpers::Class & | getClass () const |
const void * | cast (const helpers::Class &clazz) const |
bool | instanceof (const helpers::Class &clazz) const |
PropertyResourceBundle (InputStreamPtr inStream) | |
Creates a property resource bundle. | |
virtual LogString | getString (const LogString &key) const |
Gets a string for the given key from this resource bundle or one of its parents. | |
Static Public Member Functions | |
static const helpers::Class & | getStaticClass () |
static const log4cxx::helpers::ClassRegistration & | registerClass () |
Protected Attributes | |
Properties | properties |
PropertyResourceBundle is a concrete subclass of ResourceBundle that manages resources for a locale using a set of static strings from a property file.
PropertyResourceBundle | ( | InputStreamPtr | inStream | ) |
Creates a property resource bundle.
inStream | property file to read from. |
IOException | if an error occurred when reading from the input stream. |
const void* cast | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from ResourceBundle.
virtual const helpers::Class& getClass | ( | ) | const [virtual] |
Reimplemented from ResourceBundle.
static const helpers::Class& getStaticClass | ( | ) | [static] |
Reimplemented from ResourceBundle.
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.
bool instanceof | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from ResourceBundle.
static const log4cxx::helpers::ClassRegistration& registerClass | ( | ) | [static] |
Reimplemented from ResourceBundle.
Properties properties [protected] |