Class SearchForFilesOfType
- All Implemented Interfaces:
FileVisitor<Path>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanpostVisitDirectory(Path dir, IOException exc) visitFile(Path file, BasicFileAttributes attr) visitFileFailed(Path file, IOException exc) Methods inherited from class java.nio.file.SimpleFileVisitor
preVisitDirectory
-
Constructor Details
-
SearchForFilesOfType
-
-
Method Details
-
visitFile
- Specified by:
visitFilein interfaceFileVisitor<Path>- Overrides:
visitFilein classSimpleFileVisitor<Path>
-
postVisitDirectory
- Specified by:
postVisitDirectoryin interfaceFileVisitor<Path>- Overrides:
postVisitDirectoryin classSimpleFileVisitor<Path>
-
visitFileFailed
- Specified by:
visitFileFailedin interfaceFileVisitor<Path>- Overrides:
visitFileFailedin classSimpleFileVisitor<Path>
-
getMatchingFiles
-
getMaxDepth
public int getMaxDepth() -
hasMatchingFiles
public boolean hasMatchingFiles()
-