Package io.nosqlbench.nb.api.content
Class NBIOWalker.CollectVisitor
java.lang.Object
io.nosqlbench.nb.api.content.NBIOWalker.CollectVisitor
- All Implemented Interfaces:
NBIOWalker.PathVisitor
- Enclosing class:
- NBIOWalker
public static class NBIOWalker.CollectVisitor extends java.lang.Object implements NBIOWalker.PathVisitor
-
Constructor Summary
Constructors Constructor Description CollectVisitor(boolean collectFiles, boolean collectDirectories) -
Method Summary
Modifier and Type Method Description java.util.List<java.nio.file.Path>get()voidpreVisitDir(java.nio.file.Path path)voidpreVisitFile(java.nio.file.Path path)voidvisit(java.nio.file.Path p)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.nosqlbench.nb.api.content.NBIOWalker.PathVisitor
postVisitDir, postVisitFile
-
Constructor Details
-
CollectVisitor
public CollectVisitor(boolean collectFiles, boolean collectDirectories)
-
-
Method Details
-
get
public java.util.List<java.nio.file.Path> get() -
visit
public void visit(java.nio.file.Path p)- Specified by:
visitin interfaceNBIOWalker.PathVisitor
-
preVisitFile
public void preVisitFile(java.nio.file.Path path)- Specified by:
preVisitFilein interfaceNBIOWalker.PathVisitor
-
preVisitDir
public void preVisitDir(java.nio.file.Path path)- Specified by:
preVisitDirin interfaceNBIOWalker.PathVisitor
-