Interface JRTUtil.JrtFileVisitor<T>
- Enclosing class:
JRTUtil
public static interface JRTUtil.JrtFileVisitor<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileVisitResult
visitFile
(T file, T mod, BasicFileAttributes attrs) default FileVisitResult
visitModule
(T path, String name) Invoked when a root directory of a module being visited.default FileVisitResult
visitPackage
(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
-