Class CopyWalker
- java.lang.Object
-
- com.g2forge.alexandria.java.io.file.CopyWalker
-
- All Implemented Interfaces:
IFileTreeWalker
public class CopyWalker extends Object implements IFileTreeWalker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CopyWalker.CopyWalkerBuilder
static class
CopyWalker.ExtendedCopyOption
static class
CopyWalker.Visitor
-
Field Summary
Fields Modifier and Type Field Description protected IFunction1<? super Path,? extends CopyOption[]>
options
protected Path
target
-
Constructor Summary
Constructors Constructor Description CopyWalker(Path target, IFunction1<? super Path,? extends CopyOption[]> options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CopyWalker.CopyWalkerBuilder
builder()
protected boolean
canEqual(Object other)
protected CopyWalker.Visitor
constructVisitor(Path start)
boolean
equals(Object o)
IFunction1<? super Path,? extends CopyOption[]>
getOptions()
Path
getTarget()
int
hashCode()
String
toString()
Path
walkFileTree(Path start, Set<FileVisitOption> options, int maxDepth)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.g2forge.alexandria.java.io.file.IFileTreeWalker
walkFileTree
-
-
-
-
Field Detail
-
target
protected final Path target
-
options
protected final IFunction1<? super Path,? extends CopyOption[]> options
-
-
Constructor Detail
-
CopyWalker
@ConstructorProperties({"target","options"}) public CopyWalker(Path target, IFunction1<? super Path,? extends CopyOption[]> options)
-
-
Method Detail
-
constructVisitor
protected CopyWalker.Visitor constructVisitor(Path start)
-
walkFileTree
public Path walkFileTree(Path start, Set<FileVisitOption> options, int maxDepth)
- Specified by:
walkFileTree
in interfaceIFileTreeWalker
-
builder
public static CopyWalker.CopyWalkerBuilder builder()
-
getTarget
public Path getTarget()
-
getOptions
public IFunction1<? super Path,? extends CopyOption[]> getOptions()
-
canEqual
protected boolean canEqual(Object other)
-
-