|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfrastructure.propertymanager.PropertyManager
A class for handling name-value pair properties. Initialise the property manager by calling the 'initializeProperties' method before use
| Method Summary | |
static PropertyManager |
getInstance()
Returns the single instance of the Property manager |
java.lang.String |
getProperty(java.lang.String key)
Returns the property associated with the key. |
void |
initializeProperties(java.io.File propertiesFile)
Initialize the property manager |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets the value of a property. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static PropertyManager getInstance()
public java.lang.String getProperty(java.lang.String key)
key -
public void setProperty(java.lang.String key,
java.lang.String value)
throws PropertyManagementException
key - value -
PropertyManagementException
public void initializeProperties(java.io.File propertiesFile)
throws PropertyManagementException
PropertyManagementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||