Resource bundles contain locale-specific objects.  
 More...
#include <resourcebundle.h>
 | 
| static ResourceBundlePtr  | getBundle (const LogString &baseName, const Locale &locale) | 
|   | Gets a resource bundle using the specified base name and locale.  
  | 
|   | 
 | 
| void  | setParent (const ResourceBundlePtr &parent1) | 
|   | 
Resource bundles contain locale-specific objects. 
 
◆ getBundle()
  
  
      
        
          | static ResourceBundlePtr log4cxx::helpers::ResourceBundle::getBundle  | 
          ( | 
          const LogString &  | 
          baseName,  | 
         
        
           | 
           | 
          const Locale &  | 
          locale  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Gets a resource bundle using the specified base name and locale. 
- Parameters
 - 
  
    | 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  | 
  
   
 
 
◆ getString()
  
  
      
        
          | virtual LogString log4cxx::helpers::ResourceBundle::getString  | 
          ( | 
          const LogString &  | 
          key | ) | 
           const | 
         
       
   | 
  
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
- Parameters
 - 
  
    | key | the key for the desired string  | 
  
   
- Returns
 - the string for the given key 
 
- Exceptions
 - 
  
  
 
Implemented in log4cxx::helpers::PropertyResourceBundle.
 
 
◆ setParent()
  
  
      
        
          | void log4cxx::helpers::ResourceBundle::setParent  | 
          ( | 
          const ResourceBundlePtr &  | 
          parent1 | ) | 
           | 
         
       
   | 
  
inlineprotected   | 
  
 
 
The documentation for this class was generated from the following file: