@@ -0,0 +1,589 @@
+import java.io.FileNotFoundException;%0Aimport java.io.PrintWriter;%0Aimport java.io.UnsupportedEncodingException;%0A%0Apublic class BackupLog %7B%0A    private PrintWriter writer;%0A%0A    public BackupLog(String path)%7B%0A        this.writer = null;%0A        try %7B%0A            writer = new PrintWriter(path, %22UTF-8%22);%0A        %7D catch (FileNotFoundException e) %7B%0A            e.printStackTrace();%0A        %7D catch (UnsupportedEncodingException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A    public void log(String message)%7B%0A        this.writer.println(message);%0A        this.writer.close();%0A    %7D%0A%7D%0A

Create BackupLog.java