Package | Description |
---|---|
manifold.io | |
manifold.io.extensions.java.io.File |
Modifier and Type | Method and Description |
---|---|
FileTreeWalk |
FileTreeWalk.maxDepth(int depth)
Sets the maximum [depth] of a directory tree to traverse.
|
FileTreeWalk |
FileTreeWalk.onEnter(Function<File,Boolean> function)
Sets a predicate [function], that is called on any entered directory before its files are visited
and before it is visited itself.
|
FileTreeWalk |
FileTreeWalk.onFail(BiConsumer<File,IOException> function)
Set a callback [function], that is called on a directory when it's impossible to get its file list.
|
FileTreeWalk |
FileTreeWalk.onLeave(Consumer<File> function)
Sets a callback [function], that is called on any left directory after its files are visited and after it is visited itself.
|
Modifier and Type | Method and Description |
---|---|
static FileTreeWalk |
ManFileExt.walk(File thiz,
FileTreeWalk.FileWalkDirection direction)
Gets an iterable for visiting this directory and all its content.
|
static FileTreeWalk |
ManFileExt.walkBottomUp(File thiz)
Gets a sequence for visiting this directory and all its content in bottom-up order.
|
static FileTreeWalk |
ManFileExt.walkTopDown(File thiz)
Gets a sequence for visiting this directory and all its content in top-down order.
|
Copyright © 2024. All rights reserved.