我正在使用以下代码将数据写入属性文件publicvoidWritePropertiesFile(Stringkey,Stringdata){PropertiesconfigProperty=newProperties();configProperty.setProperty(key,data);Filefile=newFile("D:\\Helper.properties");FileOutputStreamfileOut=newFileOutputStream(file,true);configProperty.store(fileOut,"sampleproperties");fi