public class GetConfig extends Object
| Constructor and Description |
|---|
GetConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
getConfigurations(String[] args)
Read configuration from program arguments, env variables and toml configuration file.
|
void |
getConfigurations(String confFilePath,
String fileWritePath)
Reading the configurations from micro-gw.conf.
|
public void getConfigurations(String confFilePath, String fileWritePath) throws IOException
confFilePath - Path of the micro-gw conf filefileWritePath - File path of the txt fileIOException - exception if an error occurs when compressingpublic void getConfigurations(String[] args) throws IOException
args - program argument list.
0th index should be the path to config file.
1st index should be the path to output file.
rest of the arguments can contain any arbitrary commandline configuration propertiesIOException - When toml config file reading failsCopyright © 2021 WSO2. All rights reserved.