Class CopyFileVisitor

java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
org.spongepowered.api.util.file.CopyFileVisitor
All Implemented Interfaces:
FileVisitor<Path>

public final class CopyFileVisitor extends SimpleFileVisitor<Path>
Represents a FileVisitor which will create a copy of a directory and its contents.

Example usage:
Files.walkFileTree(dir, new CopyFileVisitor(target);