se.entitymanager.logic.file
Class FileLogic.FileTreeWalker

java.lang.Object
  extended by se.entitymanager.logic.file.FileLogic.FileTreeWalker
Enclosing class:
FileLogic

 class FileLogic.FileTreeWalker
extends java.lang.Object

Inner Class used to pass recursively through the file lists. Used to copy whole directories. Works together with the inner classCopyDirVisitor.


Field Summary
private  java.io.FilenameFilter filter
           
private  java.io.File startDirectory
           
private  FileLogic.CopyDirVisitor visitor
           
 
Constructor Summary
FileLogic.FileTreeWalker(java.io.File startDirectory, FileLogic.CopyDirVisitor visitor, java.io.FilenameFilter filter)
           
 
Method Summary
 void start()
           
private  void start(java.io.File startDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startDirectory

private java.io.File startDirectory

visitor

private FileLogic.CopyDirVisitor visitor

filter

private java.io.FilenameFilter filter
Constructor Detail

FileLogic.FileTreeWalker

public FileLogic.FileTreeWalker(java.io.File startDirectory,
                                FileLogic.CopyDirVisitor visitor,
                                java.io.FilenameFilter filter)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

start

public void start()
           throws java.io.IOException
Throws:
java.io.IOException

start

private void start(java.io.File startDir)
            throws java.io.IOException
Throws:
java.io.IOException