public class PropertyLoader
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PropertyLoader |
getInstance()
This method is used to create instance of Property Loader
|
static java.lang.String |
getProperty(java.lang.String key)
This method is used to retrieve Property for given key
|
static void |
setProperty(java.lang.String key,
java.lang.String value)
This method is used to add property in of Property File
|
public static PropertyLoader getInstance()
public static java.lang.String getProperty(java.lang.String key)
key - - key whose property to be fetchedpublic static void setProperty(java.lang.String key,
java.lang.String value)
key - Key to be added in property filevalue - Value to be added in property file