cdac.medinfo.utils

## Class PropertyLoader

- java.lang.Object
- - cdac.medinfo.utils.PropertyLoader

-     public class PropertyLoader
      extends java.lang.Object

  This class is used to read and write property in property files

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    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

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static PropertyLoader getInstance()

      This method is used to create instance of Property Loader
      Returns:
        propertyLoader - Instance of Property Loader

    - #### getProperty

          public static java.lang.String getProperty(java.lang.String key)

      This method is used to retrieve Property for given key
      Parameters:
        `key` - - key whose property to be fetched
      Returns:
        String value represented value for given key in property file

    - #### setProperty

          public static void setProperty(java.lang.String key,
                                         java.lang.String value)

      This method is used to add property in of Property File
      Parameters:
        `key` - Key to be added in property file
        `value` - Value to be added in property file