| java.lang.Object org.acm.seguin.refactor.undo.FileSet
FileSet | public class FileSet implements Serializable(Code) | | A set of files that are bound together by the undo operation. This object
stores three files. The first file is the original file name. The second
file is the renamed instance of the original file. The third file is the
new file.
To undo a refactoring on this particular file you need to delete the old
file, then rename the renamed file back to the original file.
author: Chris Seguin |
Constructor Summary | |
public | FileSet(File one, File two, File three) Creates a set of files that can be undone. |
Method Summary | |
public void | undo() |
FileSet | public FileSet(File one, File two, File three)(Code) | | Creates a set of files that can be undone.
Parameters: one - the original file Parameters: two - the renamed orginal Parameters: three - the new file |
undo | public void undo()(Code) | | Performs the undo operation on this particular file
|
|
|