|
Apache Log4cxx
Version 1.4.0
|
Resource bundles contain locale-specific objects. More...
#include <resourcebundle.h>
Public Member Functions | |
| virtual LogString | getString (const LogString &key) const =0 |
| Gets a string for the given key from this resource bundle or one of its parents. | |
Public Member Functions inherited from log4cxx::helpers::Object | |
| virtual | ~Object () |
| virtual const helpers::Class & | getClass () const =0 |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
Static Public Member Functions | |
| static ResourceBundlePtr | getBundle (const LogString &baseName, const Locale &locale) |
| Gets a resource bundle using the specified base name and locale. | |
Protected Member Functions | |
| void | setParent (const ResourceBundlePtr &parent1) |
Resource bundles contain locale-specific objects.
|
static |
Gets a resource bundle using the specified base name and locale.
| baseName | the base name of the resource bundle, a fully qualified class name or property filename |
| locale | the locale for which a resource bundle is desired |
|
pure 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 |
Implemented in log4cxx::helpers::PropertyResourceBundle.
|
inlineprotected |