public class ConfigReader extends Object
| Constructor and Description |
|---|
ConfigReader(Reader configReader)
Creates a new configuration reader.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseURL()
Gets the base URL
|
Map<String,com.fasterxml.jackson.databind.JsonNode> |
getDataSources()
Gets the data sources.
|
Map<String,IDataSourceType> |
getDataSourceTypes()
Gets the data source types.
|
Map<String,String> |
getPrefixes()
Gets the prefixes.
|
protected IDataSourceType |
initDataSouceType(String className)
Loads a certain
IDataSourceType class at runtime |
public ConfigReader(Reader configReader)
configReader - the configurationpublic Map<String,IDataSourceType> getDataSourceTypes()
public Map<String,com.fasterxml.jackson.databind.JsonNode> getDataSources()
public String getBaseURL()
protected IDataSourceType initDataSouceType(String className)
IDataSourceType class at runtimeclassName - IDataSourceType classCopyright © 2022. All rights reserved.