FileWriter fw = new FileWriter("C://Users//pc//Desktop//aaa.txt",true); fw.write("2016-11-10T16:00:00Z"); fw.close();
FileWriter fw = new FileWriter("C://Users//pc//Desktop//aaa.txt",true); 這裏true爲續寫,false爲覆蓋原有文件