public static void writeExternalFile
(){
String account
= vars.get
("account");
String password
= vars.get
("password");
String filePath
= "C:/test123.txt";
FileWriter writer
;
try {
writer
= new FileWriter
(filePath
,true
);
writer
.write
(account
+",");
writer
.write
(password
);
writer
.write
("\r\n");
writer
.flush
();
writer
.close
();
}catch
(IOException e
){
e
.printStackTrace
();
}
}
writeExternalFile
();
转载请注明原文地址: https://lol.8miu.com/read-15618.html