Package org.ndviet.library.configuration
Class Configuration
- java.lang.Object
-
- org.ndviet.library.configuration.Configuration
-
- All Implemented Interfaces:
ConfigurationInterface
- Direct Known Subclasses:
JsonConfiguration,PropertiesConfiguration,YamlConfiguration
public abstract class Configuration extends java.lang.Object implements ConfigurationInterface
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.LinkedHashMapm_data
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.LinkedHashMapgetData()abstract java.lang.StringgetValue(java.lang.String key)abstract voidreadConfigurationFrom(java.lang.String filePath)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ndviet.library.configuration.ConfigurationInterface
getListValues
-
-
-
-
Method Detail
-
getData
public java.util.LinkedHashMap getData()
-
readConfigurationFrom
public abstract void readConfigurationFrom(java.lang.String filePath) throws java.lang.Exception- Throws:
java.lang.Exception
-
getValue
public abstract java.lang.String getValue(java.lang.String key)
- Specified by:
getValuein interfaceConfigurationInterface
-
-