gov.nih.nci.caarray.services.util.properties
Class PropertiesReader
java.lang.Object
gov.nih.nci.caarray.services.util.properties.PropertiesReader
public class PropertiesReader
- extends java.lang.Object
- Author:
- TranP, gustafsons
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger_
protected org.apache.log4j.Logger logger_
- Logger used by this class.
filePath_
protected java.lang.String filePath_
propInStream_
protected java.io.InputStream propInStream_
propertyHash_
protected java.util.Hashtable propertyHash_
loaded_
protected boolean loaded_
PropertiesReader
public PropertiesReader(java.lang.String filePath)
- Parameters:
fileClasspath
- - The file path which can be located by Java ClassLoader.
PropertiesReader
public PropertiesReader(java.io.InputStream propInStream)
loadProperties
public void loadProperties()
getProperties
public java.util.Hashtable getProperties()
getProperty
public java.lang.String getProperty(java.lang.String propertyName)
isLoaded
public boolean isLoaded()
- Returns: