public static class DirScanner.Full extends DirScanner
Note that all file paths are prefixed by the name of the root directory.
For example, when scanning a directory /tmp/dir containing a file file,
the relativePath sent to the FileVisitor will be dir/file.
DirScanner.Filter, DirScanner.Full, DirScanner.Glob| Constructor and Description |
|---|
Full() |
| Modifier and Type | Method and Description |
|---|---|
void |
scan(File dir,
FileVisitor visitor)
Scans the given directory and pass files onto the given visitor.
|
scanSinglepublic void scan(File dir, FileVisitor visitor) throws IOException
DirScannerscan in class DirScannerIOExceptionCopyright © 2019. All rights reserved.