com.app.common.config.ATSROOTConfig Maven / Gradle / Ivy
The newest version!
package com.app.common.config;
import java.io.IOException;
public class ATSROOTConfig {
/**
* @param args
*/
public static void main(String[] args) {
PropertiesHelper temp = ATSROOTConfig.getATSROOTConfig();
try {
System.out.println(PropertiesHelper.printParmas(temp.findClientParam(("SERVER.AMQIIIServerAdapter"))));
} catch (IOException e) {
e.printStackTrace();
}
}
private static PropertiesHelper ATSROOT = null;
static
{
ATSROOT = new PropertiesHelper();
try {
ATSROOT.load(PropertiesHelper.getFullPath(PropertiesHelper.getATS_ROOT(), "/control/ATSConfig.ini"));
} catch (IOException e) {
e.printStackTrace();
}
}
public static PropertiesHelper getATSROOTConfig()
{
return ATSROOT;
}
}