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