public interface LoaderClassesWriter
| 限定符和类型 | 方法和说明 |
|---|---|
void |
writeEntry(String name,
InputStream inputStream)
Write a single entry to the JAR.
|
void |
writeLoaderClasses(JarInputStream jarInputStream)
Write classes needed by the cabin launcher to the JAR.
|
void writeLoaderClasses(JarInputStream jarInputStream) throws IOException
jarInputStream - the inputStream of the resource containing the loader classes
to be writtenIOException - if the classes cannot be writtenvoid writeEntry(String name, InputStream inputStream) throws IOException
name - the name of the entryinputStream - the input stream contentIOException - if the entry cannot be writtenCopyright © 2021. All rights reserved.