@FunctionalInterface public interface PathFilter
Path
s.Modifier and Type | Method and Description |
---|---|
FileVisitResult |
accept(Path path,
BasicFileAttributes attributes)
Tests whether or not to include the specified Path in a result.
|
FileVisitResult accept(Path path, BasicFileAttributes attributes)
path
- The Path to test.attributes
- the file's basic attributes (TODO may be null).Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.