接口 LoaderClassesWriter
-
- 所有已知实现类:
JarWriter
public interface LoaderClassesWriter
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidwriteEntry(String name, InputStream inputStream)Write a single entry to the JAR.voidwriteLoaderClasses(JarInputStream jarInputStream)Write classes needed by the cabin launcher to the JAR.
-
-
-
方法详细资料
-
writeLoaderClasses
void writeLoaderClasses(JarInputStream jarInputStream) throws IOException
Write classes needed by the cabin launcher to the JAR.- 参数:
jarInputStream- the inputStream of the resource containing the loader classes to be written- 抛出:
IOException- if the classes cannot be written
-
writeEntry
void writeEntry(String name, InputStream inputStream) throws IOException
Write a single entry to the JAR.- 参数:
name- the name of the entryinputStream- the input stream content- 抛出:
IOException- if the entry cannot be written
-
-