Class NestedJarHandler.Builder
java.lang.Object
cloud.opencode.base.classloader.resource.NestedJarHandler.Builder
- Enclosing class:
NestedJarHandler
Builder for NestedJarHandler
NestedJarHandler 的构建器
- Since:
- JDK 25, opencode-base-classloader V1.0.3
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the handler 构建处理器tempDirectory(Path tempDirectory) Set the temporary directory for extracted JARs 设置解压 JAR 的临时目录
-
Method Details
-
tempDirectory
Set the temporary directory for extracted JARs 设置解压 JAR 的临时目录- Parameters:
tempDirectory- temporary directory path | 临时目录路径- Returns:
- this builder | 此构建器
-
build
Build the handler 构建处理器- Returns:
- new NestedJarHandler instance | 新的 NestedJarHandler 实例
- Throws:
OpenClassLoaderException- if temp directory creation fails | 临时目录创建失败时抛出
-