|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openoss.opennms.spring.qosd.PropertiesLoader
public class PropertiesLoader
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()
Getter for the field instance. |
String |
getProperty(String propertyName)
getProperty |
Set |
getPropertyNames()
getPropertyNames |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PropertiesLoader getInstance()
throws FileNotFoundException,
IOException
Getter for the field instance.
PropertiesLoader object.
FileNotFoundException - if any.
IOException - if any.
public String getProperty(String propertyName)
throws IllegalArgumentException
getProperty
propertyName - a String object.
String object.
IllegalArgumentException - if any.public Set getPropertyNames()
getPropertyNames
Set object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||