First Commit - Source Code from Reply
This commit is contained in:
30
dbcmnpsrc/FE/mnpdev/sim/sistemi/src/conf/SimConfFile.java
Normal file
30
dbcmnpsrc/FE/mnpdev/sim/sistemi/src/conf/SimConfFile.java
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user