Package org.ndviet.library.configuration
Class JsonConfiguration
- java.lang.Object
-
- org.ndviet.library.configuration.AbstractConfiguration
-
- org.ndviet.library.configuration.JsonConfiguration
-
- All Implemented Interfaces:
IConfiguration
public class JsonConfiguration extends AbstractConfiguration
-
-
Field Summary
-
Fields inherited from class org.ndviet.library.configuration.AbstractConfiguration
m_data
-
-
Constructor Summary
Constructors Constructor Description JsonConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ListgetListValues(java.lang.String key)java.util.LinkedHashMapgetMapValues(java.lang.String key)java.lang.StringgetValue(java.lang.String key)voidreadConfigurationFrom(java.lang.String filePath)-
Methods inherited from class org.ndviet.library.configuration.AbstractConfiguration
getData
-
-
-
-
Method Detail
-
readConfigurationFrom
public void readConfigurationFrom(java.lang.String filePath) throws java.lang.Exception- Specified by:
readConfigurationFromin classAbstractConfiguration- Throws:
java.lang.Exception
-
getValue
public java.lang.String getValue(java.lang.String key)
- Specified by:
getValuein interfaceIConfiguration- Specified by:
getValuein classAbstractConfiguration
-
getListValues
public java.util.List getListValues(java.lang.String key)
- Specified by:
getListValuesin interfaceIConfiguration- Specified by:
getListValuesin classAbstractConfiguration
-
getMapValues
public java.util.LinkedHashMap getMapValues(java.lang.String key)
- Specified by:
getMapValuesin interfaceIConfiguration- Specified by:
getMapValuesin classAbstractConfiguration
-
-