/**
*
*/
package ;
import ;
import ;
import ;
import ;
import ;
import ;
/**
* @author zhangliping
* 2015年1月31日
*/
public class IniReader {
String configpath = "d://";
private static Properties properties =new Properties();
FileInputStream fis = null; // 读
OutputStream fos ;
/**
*
*/
public IniReader() {
try {
fis = new FileInputStream(configpath);
(fis);
} catch (FileNotFoundException e) {
();
} catch (IOException e) {
();
}
}
public String getProperty(String key)
{
Object object = (key);
return ();
}
public void setProperty(String key, String value)
{
try {
fos = new FileOutputStream(configpath);// 加载读取文件流
(key, value);
(fos, null);
();
} catch (FileNotFoundException e) {
();
} catch (IOException e) {
();
}
}
/**
* @param args
*/
public static void main(String[] args) {
IniReader ini = new IniReader();
(("current_selectCase"));
("reportFile", "D://aa");
(("reportFile"));
("keyStoreFile", "C://ee");
(("keyStoreFile"));
}
}