All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy