antlr
public class PreservingFileWriter extends FileWriter
Field Summary | |
---|---|
protected File | target_file |
protected File | tmp_file |
Constructor Summary | |
---|---|
PreservingFileWriter(String file) |
Method Summary | |
---|---|
void | close() Close the file and see if the actual target is different
if so the target file is overwritten by the copy. |