walkWithDepth
Description:
public static ArrayList<
Path>
walkWithDepth (
Path root,
int maxDepth)
Recursively walks files under root up to maxDepth.
Root path depth is 0. Direct children are depth 1.
Parameters:
| root |
root path.
|
| maxDepth |
maximum traversal depth.
|
Returns:
|
recursively discovered files.
|