Unable to write the current timestamp to a file using BufferedWriter and FileWriter

前端 未结 0 1489
谎友^
谎友^ 2021-01-03 12:02

Here is my code :

 try (BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(filename))) {
            bufferedWriter.write(getCurrentTimeStamp()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题