Interface LoaderClassesWriter
- All Known Implementing Classes:
 AbstractJarWriter,JarWriter
public interface LoaderClassesWriter
Writer used by 
CustomLoaderLayouts to write classes into a
 repackaged JAR.- Since:
 - 1.5.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidwriteEntry(String name, InputStream inputStream) Write a single entry to the JAR.voidWrite the default required spring-boot-loader classes to the JAR.voidwriteLoaderClasses(String loaderJarResourceName) Write custom required spring-boot-loader classes to the JAR.voidwriteLoaderClasses(LoaderImplementation loaderImplementation) Write the default required spring-boot-loader classes to the JAR. 
- 
Method Details
- 
writeLoaderClasses
Write the default required spring-boot-loader classes to the JAR.- Throws:
 IOException- if the classes cannot be written
 - 
writeLoaderClasses
Write the default required spring-boot-loader classes to the JAR.- Parameters:
 loaderImplementation- the specific implementation to write- Throws:
 IOException- if the classes cannot be written- Since:
 - 3.2.0
 
 - 
writeLoaderClasses
Write custom required spring-boot-loader classes to the JAR.- Parameters:
 loaderJarResourceName- the name of the resource containing the loader classes to be written- Throws:
 IOException- if the classes cannot be written
 - 
writeEntry
Write a single entry to the JAR.- Parameters:
 name- the name of the entryinputStream- the input stream content- Throws:
 IOException- if the entry cannot be written
 
 -