summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/funcutils/FileUtils.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 14:07:00 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 14:07:00 -0400
commitd1d01769e7c55f7f62dc01cadf420d5f63424584 (patch)
tree5415f41c405622441840d5dd81b91ea8d7e7de31 /base/src/main/java/bjc/utils/funcutils/FileUtils.java
parenta78d2f10f8142af6a4e557588c06546e2231eb3f (diff)
Testing
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils/FileUtils.java')
-rw-r--r--base/src/main/java/bjc/utils/funcutils/FileUtils.java20
1 files changed, 11 insertions, 9 deletions
diff --git a/base/src/main/java/bjc/utils/funcutils/FileUtils.java b/base/src/main/java/bjc/utils/funcutils/FileUtils.java
index 0fd3db0..04ac6b0 100644
--- a/base/src/main/java/bjc/utils/funcutils/FileUtils.java
+++ b/base/src/main/java/bjc/utils/funcutils/FileUtils.java
@@ -13,26 +13,28 @@ import java.util.function.BiPredicate;
*/
public class FileUtils {
/*
- * @NOTE If it becomes necessary, write another overload for this with
- * all the buttons and knobs from walkFileTree.
+ * @NOTE
+ *
+ * If it becomes necessary, write another overload for this with all the
+ * buttons and knobs from walkFileTree.
*/
/**
* Traverse a directory recursively. This is a depth-first traversal.
*
* @param root
- * The directory to start the traversal at.
+ * The directory to start the traversal at.
*
* @param predicate
- * The predicate to determine whether or not to traverse a
- * directory.
+ * The predicate to determine whether or not to traverse
+ * a directory.
*
* @param action
- * The action to invoke upon each file in the directory.
- * Returning true means to continue the traversal, returning
- * false stops it.
+ * The action to invoke upon each file in the directory.
+ * Returning true means to continue the traversal,
+ * returning false stops it.
*
* @throws IOException
- * If the walk throws an exception.
+ * If the walk throws an exception.
*
*/
public static void traverseDirectory(final Path root, final BiPredicate<Path, BasicFileAttributes> predicate,