Schnittstelle JRTUtil.JrtFileVisitor<T>
- Umschließende Klasse:
JRTUtil
public static interface JRTUtil.JrtFileVisitor<T>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault 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)
-
Methodendetails
-
visitPackage
- Löst aus:
IOException
-
visitFile
- Löst aus:
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- Löst aus:
IOException
-