Interface JRTUtil.JrtFileVisitor<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileVisitResultvisitFile(T file, T mod, BasicFileAttributes attrs) default FileVisitResultvisitModule(T path, String name) Invoked when a root directory of a module being visited.default FileVisitResultvisitPackage(T dir, T mod, BasicFileAttributes attrs)
-
Method Details
-
visitPackage
- Throws:
IOException
-
visitFile
- Throws:
IOException
-
visitModule
Invoked when a root directory of a module being visited. The element returned contains only the module name segment - e.g. "java.base". Clients can use this to control how the JRT needs to be processed, for e.g., clients can skip a particular module by returning FileVisitResult.SKIP_SUBTREE- Throws:
IOException
-