org.openoss.opennms.spring.qosd
Class PropertiesLoader

java.lang.Object
  extended by org.openoss.opennms.spring.qosd.PropertiesLoader

public class PropertiesLoader
extends java.lang.Object

Class to load properties from the properties file. This loads the file once and returns a singleton on further calls


Method Summary
static PropertiesLoader getInstance()
           
 java.lang.String getProperty(java.lang.String propertyName)
           
 java.util.Set getPropertyNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PropertiesLoader getInstance()
                                    throws java.io.FileNotFoundException,
                                           java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getProperty

public java.lang.String getProperty(java.lang.String propertyName)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPropertyNames

public java.util.Set getPropertyNames()


Copyright ? 2006-2008. All Rights Reserved.