se.entitymanager.logic.file
Class FileLogic.CopyDirVisitor
java.lang.Object
se.entitymanager.logic.file.FileLogic.CopyDirVisitor
- Enclosing class:
- FileLogic
class FileLogic.CopyDirVisitor
- extends java.lang.Object
Inner Class used to copy whole directories.
Does the actual copying of the files in a directory to be copied.
Works together with the inner class FileTreeWalker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceDir
private java.io.File sourceDir
targetDir
private java.io.File targetDir
FileLogic.CopyDirVisitor
public FileLogic.CopyDirVisitor(java.io.File sourceDir,
java.io.File targetDir)
visitDirectory
public void visitDirectory(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
visitFile
public void visitFile(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
copyFile
public void copyFile(java.io.File source,
java.io.File target)
throws java.io.IOException
- Throws:
java.io.IOException