public class JsonToComponentConfig extends Object
ComponentConfig| Constructor and Description |
|---|
JsonToComponentConfig() |
| Modifier and Type | Method and Description |
|---|---|
ComponentConfig |
readConfig(String jsonName)
Reads config from a JSON file and returns a
ComponentConfig. |
public ComponentConfig readConfig(String jsonName)
ComponentConfig.
Assumes that files are located under /component-configs directory.jsonName - name of the JSON fileCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.