public static final class FileVisitor.Mover extends FileVisitor
FileVisitor.Copier, FileVisitor.Filtered, FileVisitor.Listable, FileVisitor.Lister, FileVisitor.Mover, FileVisitor.Remover
DEBUG_LEVEL
Constructor and Description |
---|
FileVisitor.Mover(java.io.File rootSource,
java.io.File rootTarget) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
executeAlternate() |
java.io.File |
rootSource() |
java.io.File |
rootTarget() |
protected void |
visitDirectoryAfter(Directory d,
java.lang.Object savedContext) |
protected java.lang.Object |
visitDirectoryBefore(Directory d) |
protected void |
visitFile(java.io.File f) |
protected void |
visitRootAfter() |
depth, equals, execute, executeInProgress, executeWasCalled, getLevels, hashCode, main, parent, removeOnShutdown, root, toString
public FileVisitor.Mover(java.io.File rootSource, java.io.File rootTarget)
public final java.io.File rootSource()
public final java.io.File rootTarget()
protected void visitFile(java.io.File f) throws java.io.IOException
visitFile
in class FileVisitor
java.io.IOException
protected final java.lang.Object visitDirectoryBefore(Directory d) throws java.io.IOException
visitDirectoryBefore
in class FileVisitor
java.io.IOException
protected final void visitDirectoryAfter(Directory d, java.lang.Object savedContext) throws java.io.IOException
visitDirectoryAfter
in class FileVisitor
java.io.IOException
protected final void visitRootAfter() throws java.io.IOException
visitRootAfter
in class FileVisitor
java.io.IOException
protected final boolean executeAlternate() throws java.io.IOException
executeAlternate
in class FileVisitor
java.io.IOException