org.finra.jtaf.core.utilities
Class PropertyManager
java.lang.Object
org.finra.jtaf.core.utilities.PropertyManager
- Direct Known Subclasses:
- JTAFPropertyManager
public class PropertyManager
- extends Object
This class is similar to java Properties reader. It takes care of reading properties from the specified file.
The difference however is, it allows to override any property by specifying it as a System
property.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileName
protected String fileName
propertyPrefix
protected String propertyPrefix
propertyResourceBundle
protected PropertyResourceBundle propertyResourceBundle
PropertyManager
public PropertyManager(String fileName,
String propertyPrefix)
getProperty
public String getProperty(String propertyName)
getPropertyResourceBundle
protected PropertyResourceBundle getPropertyResourceBundle()
loadProperties
protected void loadProperties()
Copyright © 2014. All rights reserved.