org.apache.logging.log4j.util
Class PropsUtil

java.lang.Object
  extended by org.apache.logging.log4j.util.PropsUtil

public class PropsUtil
extends Object

Utility class to help with accessing System Properties.


Constructor Summary
PropsUtil(Properties props)
           
PropsUtil(String propsLocn)
           
 
Method Summary
 boolean getBooleanProperty(String name, boolean defaultValue)
           
 String getStringProperty(String name)
           
 String getStringProperty(String name, String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropsUtil

public PropsUtil(Properties props)

PropsUtil

public PropsUtil(String propsLocn)
Method Detail

getStringProperty

public String getStringProperty(String name)

getStringProperty

public String getStringProperty(String name,
                                String defaultValue)

getBooleanProperty

public boolean getBooleanProperty(String name,
                                  boolean defaultValue)


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.