public interface FileTreeView
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TypedPath> |
list(java.nio.file.Path path,
int maxDepth,
Filter<? super TypedPath> filter)
List all of the files for the
path, returning only those files that are accepted by the
provided filter. |
java.util.List<TypedPath> list(java.nio.file.Path path, int maxDepth, Filter<? super TypedPath> filter) throws java.io.IOException
path, returning only those files that are accepted by the
provided filter.path - the root path to listmaxDepth - the maximum depth of subdirectories to queryfilter - include only paths accepted by the filterPath instances accepted by the filter.java.io.IOException - if the path cannot be listed.