Class PropertyReader
- java.lang.Object
-
- in.cdac.medinfo.csnotk.csnolib.util.PropertyReader
-
public class PropertyReader extends java.lang.ObjectClass Reads the properties.
-
-
Constructor Summary
Constructors Constructor Description PropertyReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetProperty(java.lang.String key)Gets property.static java.util.PropertiesloadSystemProperties()Loads System properties .static voidsetProperty(java.lang.String key, java.lang.String val)Sets property.
-
-
-
Method Detail
-
loadSystemProperties
public static java.util.Properties loadSystemProperties()
Loads System properties .- Returns:
- Object of
Properties. - Throws:
java.io.IOException- - If any exception occurred during IO operation.
-
getProperty
public static java.lang.String getProperty(java.lang.String key)
Gets property.- Parameters:
key- String value representing Key of property.- Returns:
- String value of property.
-
setProperty
public static void setProperty(java.lang.String key, java.lang.String val)Sets property.- Parameters:
key- String value representing Key of property.
-
-