| |
|
| java.lang.Object org.acm.seguin.refactor.Refactoring org.acm.seguin.refactor.type.MoveClass
All known Subclasses: org.acm.seguin.ide.jbuilder.refactor.JBuilderMoveClassRefactoring,
MoveClass | public class MoveClass extends Refactoring (Code) | | Main program for repackaging. This object simply stores the main program
and interprets the command line arguments for repackaging one or more
files.
author: Chris Seguin |
MoveClass | protected MoveClass()(Code) | | Constructor for repackage
|
add | public void add(String filename)(Code) | | Add a file to the list. The file name includes only the name, and not the
entire path.
Parameters: filename - the file to add |
getDescription | public String getDescription()(Code) | | Gets the Description attribute of the MoveClass object
The Description value |
getID | public int getID()(Code) | | Gets the id for this refactoring to track which refactorings are used.
the id |
setDestinationPackage | public void setDestinationPackage(String dest)(Code) | | Set the destination package
Parameters: dest - the package name |
setDirectory | public void setDirectory(String dir)(Code) | | Set the directory
Parameters: dir - the initial directory |
transform | protected void transform()(Code) | | Performs the transformation of the class
|
|
|
|