@FunctionalInterface
public interface PathFilter
Path
s.Modifier and Type | Method and Description |
---|---|
java.nio.file.FileVisitResult |
accept(java.nio.file.Path path,
java.nio.file.attribute.BasicFileAttributes attributes)
Tests whether or not to include the specified Path in a result.
|
java.nio.file.FileVisitResult accept(java.nio.file.Path path, java.nio.file.attribute.BasicFileAttributes attributes)
path
- The Path to test.attributes
- the file's basic attributes (TODO may be null).