Class GetResourcesFunction.ForJava24
java.lang.Object
io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.Abst
io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.ForJava7
io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.ForJava9
io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.ForJava24
- All Implemented Interfaces:
GetResourcesFunction,ThrowingTriFunction<String,Boolean, ClassLoader[], Collection<URL>, Throwable>
- Enclosing interface:
GetResourcesFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.toolfactory.jvm.function.catalog.GetResourcesFunction
GetResourcesFunction.Abst, GetResourcesFunction.ForJava24, GetResourcesFunction.ForJava7, GetResourcesFunction.ForJava9 -
Field Summary
Fields inherited from class io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.Abst
resourceFinder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodHandleinitFindResourcesMethodHandle(MethodHandles.Lookup consulter, Class<?> jdk_internal_loader_URLClassPathClass) protected Enumeration<URL>invokeFindResources(MethodHandle jdk_internal_loader_URLClassPath_findResources, Object ucp, String resourceRelativePath) Methods inherited from class io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.ForJava9
buildResourceFinderMethods inherited from class io.github.toolfactory.jvm.function.catalog.GetResourcesFunction.Abst
apply, apply
-
Constructor Details
-
ForJava24
- Throws:
Throwable
-
-
Method Details
-
initFindResourcesMethodHandle
protected MethodHandle initFindResourcesMethodHandle(MethodHandles.Lookup consulter, Class<?> jdk_internal_loader_URLClassPathClass) throws NoSuchMethodException, IllegalAccessException - Overrides:
initFindResourcesMethodHandlein classGetResourcesFunction.ForJava9- Throws:
NoSuchMethodExceptionIllegalAccessException
-
invokeFindResources
protected Enumeration<URL> invokeFindResources(MethodHandle jdk_internal_loader_URLClassPath_findResources, Object ucp, String resourceRelativePath) throws Throwable - Overrides:
invokeFindResourcesin classGetResourcesFunction.ForJava9- Throws:
Throwable
-