| Static Public Member Functions | |
| static LogString | convertSpecialChars (const LogString &s) | 
| static bool | toBoolean (const LogString &value, bool dEfault) | 
| If valueis "true", thentrueis returned. | |
| static int | toInt (const LogString &value, int dEfault) | 
| static long | toFileSize (const LogString &value, long dEfault) | 
| static LevelPtr | toLevel (const LogString &value, const LevelPtr &defaultValue) | 
| static LogString | findAndSubst (const LogString &key, Properties &props) | 
| Find the value corresponding to keyinprops. | |
| static LogString | substVars (const LogString &val, Properties &props) | 
| Perform variable substitution in string valfrom the values of keys found in the system propeties. | |
| static LogString | getSystemProperty (const LogString &key, const LogString &def) | 
| Gets the specified system property. | |
| static ObjectPtr | instantiateByClassName (const LogString &className, const Class &superClass, const ObjectPtr &defaultValue) | 
| Instantiate an object given a class name. | |
| static ObjectPtr | instantiateByKey (Properties &props, const LogString &key, const Class &superClass, const ObjectPtr &defaultValue) | 
| static void | selectAndConfigure (const File &configFileName, const LogString &clazz, spi::LoggerRepositoryPtr &hierarchy) | 
| Configure log4cxx given a configFileName. | |
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
Find the value corresponding to  Then perform variable substitution on the found value. | 
| 
 | ||||||||||||
| Gets the specified system property. 
 
 
 | 
| 
 | ||||||||||||||||
| Instantiate an object given a class name. 
Check that the  
 
 | 
| 
 | ||||||||||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| Configure log4cxx given a configFileName. The configFileName must point to a file which will be interpreted by a new instance of a log4cxx configurator. 
All configurations steps are taken on the  
 
 | 
| 
 | ||||||||||||
| 
Perform variable substitution in string  The variable substitution delimeters are ${ and }. For example, if the System properties contains "key=value", then the call 
String s = OptionConverter.substituteVars("Value of key is ${key}.");
will set the variable  
If no value could be found for the specified key, then the  For example, if system propeties contains no value for the key "inexistentKey", then the call 
 
String s = OptionConverter.subsVars("Value of inexistentKey is [${inexistentKey}]");
will setsto "Value of inexistentKey is []"
An IllegalArgumentException is thrown if  
 
 
 | 
| 
 | ||||||||||||
| 
If  
If  Case of value is unimportant. | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 |