public interface LoaderClassesWriter
CustomLoaderLayouts
to write classes into a
repackaged JAR.Modifier and Type | Method and Description |
---|---|
void |
writeEntry(String name,
InputStream inputStream)
Write a single entry to the JAR.
|
void |
writeLoaderClasses()
Write the default required spring-boot-loader classes to the JAR.
|
void |
writeLoaderClasses(String loaderJarResourceName)
Write custom required spring-boot-loader classes to the JAR.
|
void writeLoaderClasses() throws IOException
IOException
- if the classes cannot be writtenvoid writeLoaderClasses(String loaderJarResourceName) throws IOException
loaderJarResourceName
- the name 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 Pivotal Software, Inc.. All rights reserved.