Package org.junit.platform.commons.util
Class ClassFileVisitor
- All Implemented Interfaces:
FileVisitor<Path>
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanisClassFile(Path file) private static booleanisNotModuleInfo(Path path) private static booleanisNotPackageInfo(Path path) postVisitDirectory(Path dir, IOException ex) visitFile(Path file, BasicFileAttributes attributes) visitFileFailed(Path file, IOException ex) Methods inherited from class java.nio.file.SimpleFileVisitor
preVisitDirectory
-
Field Details
-
logger
-
CLASS_FILE_SUFFIX
- See Also:
-
PACKAGE_INFO_FILE_NAME
- See Also:
-
MODULE_INFO_FILE_NAME
- See Also:
-
classFileConsumer
-
-
Constructor Details
-
ClassFileVisitor
-
-
Method Details
-
visitFile
- Specified by:
visitFilein interfaceFileVisitor<Path>- Overrides:
visitFilein classSimpleFileVisitor<Path>
-
visitFileFailed
- Specified by:
visitFileFailedin interfaceFileVisitor<Path>- Overrides:
visitFileFailedin classSimpleFileVisitor<Path>
-
postVisitDirectory
- Specified by:
postVisitDirectoryin interfaceFileVisitor<Path>- Overrides:
postVisitDirectoryin classSimpleFileVisitor<Path>
-
isNotPackageInfo
-
isNotModuleInfo
-
isClassFile
-