public interface LoaderClassesWriter
CustomLoaderLayouts
to write classes into a
repackaged JAR.Modifier and Type | Method and Description |
---|---|
void |
writeEntry(java.lang.String name,
java.io.InputStream inputStream)
Write a single entry to the JAR.
|
void |
writeLoaderClasses()
Write the default required spring-boot-loader classes to the JAR.
|
void |
writeLoaderClasses(java.lang.String loaderJarResourceName)
Write custom required spring-boot-loader classes to the JAR.
|
void writeLoaderClasses() throws java.io.IOException
java.io.IOException
- if the classes cannot be writtenvoid writeLoaderClasses(java.lang.String loaderJarResourceName) throws java.io.IOException
loaderJarResourceName
- the name of the resource containing the loader classes
to be writtenjava.io.IOException
- if the classes cannot be writtenvoid writeEntry(java.lang.String name, java.io.InputStream inputStream) throws java.io.IOException
name
- the name of the entryinputStream
- the input stream contentjava.io.IOException
- if the entry cannot be written