| |
|
| java.lang.Object org.acm.seguin.io.DirectoryTreeTraversal org.acm.seguin.util.BackupTraversal
BackupTraversal | public class BackupTraversal extends DirectoryTreeTraversal (Code) | | Traverses a directory structure and backups all java files found
author: Chris Seguin |
BackupTraversal | public BackupTraversal(String init, String out)(Code) | | Traverses a directory tree structure
Parameters: init - the initial directory Parameters: out - the output directory |
arriveAtDir | protected void arriveAtDir(File current)(Code) | | Program called when we arrive at a directory
Parameters: current - the current directory |
isTarget | protected boolean isTarget(File currentFile)(Code) | | Determines if this file should be handled by this traversal
Parameters: currentFile - the current file true if the file should be handled |
leaveDir | protected void leaveDir(File current)(Code) | | Program called when we arrive at a directory
Parameters: current - Description of the Parameter |
main | public static void main(String[] args)(Code) | | The main program
Parameters: args - Description of Parameter |
visit | protected void visit(File currentFile)(Code) | | Visits the current file
Parameters: currentFile - the current file |
|
|
|