31 lines
692 B
Java
31 lines
692 B
Java
/*
|
|
* Created on Jan 25, 2005
|
|
*
|
|
* TODO To change the template for this generated file go to
|
|
* Window - Preferences - Java - Code Style - Code Templates
|
|
*/
|
|
package conf;
|
|
|
|
/**
|
|
* @author Giovanni
|
|
*
|
|
* TODO To change the template for this generated type comment go to
|
|
* Window - Preferences - Java - Code Style - Code Templates
|
|
*/
|
|
public class SimConfFile {
|
|
/**
|
|
* Ritorna un'istanza della classe
|
|
* @return PropertiesDefault
|
|
*/
|
|
public static JIniFile _instance =null;
|
|
|
|
|
|
public static JIniFile getInstance() {
|
|
if (_instance == null) {
|
|
String filepath = System.getProperty("sim_conf_file","");
|
|
_instance = new JIniFile(filepath);
|
|
}
|
|
return _instance;
|
|
}
|
|
}
|