大虾路人甲:你的方法我已经用过,十分感谢!但是我怎样才能检索?请见里面! String lName = "sss";String lValue = (String) lProp.getProperty(lName);gSysVariables.put(lName, lValue+",ddd"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 something like:// create and load propertiesProperties applicationProps = new Properties();FileInputStream in = new FileInputStream("www.txt");applicationProps.load(in);in.close();String lName = "sss";String lValue = (String) applicationProps.getProperty(lName);applicationProps.put(lName, lValue+",ddd");FileOutputStream out = new FileOutputStream("www.txt");applicationProps.store(out, "---No Comment---");out.close(); 一个JPanel可以镶嵌到另一个JPanel中的吗? javaio 把字符串转换成整型 向上转型有什么好处!有什么用! 建了个JAVA QQ群 4434291 如何提取一个分数的分子,分母 显示GIF的问题,在线等待 这个论坛是怎么写的?主要是什么软件,程序? java后面的数字代表什么意思 谁碰到过maven管理springmvc的项目打成war包后启动报找不到service注解的这种错误 不能运行HELLOWORLD为什么?? 必给高分求救:怎样用JAVA实现在文本文件中搜索一个字符串?详情见内!
// create and load properties
Properties applicationProps = new Properties();
FileInputStream in = new FileInputStream("www.txt");
applicationProps.load(in);
in.close();
String lName = "sss";
String lValue = (String) applicationProps.getProperty(lName);
applicationProps.put(lName, lValue+",ddd");
FileOutputStream out = new FileOutputStream("www.txt");
applicationProps.store(out, "---No Comment---");
out.close();