writeJarModeLibrary() — spring-boot Function Reference
Architecture documentation for the writeJarModeLibrary() function in BootZipCopyAction.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 1a799a36_3169_6c85_17f6_be7609356689["writeJarModeLibrary()"] 9784d9ca_c0aa_1e59_4a4b_7a54c1f53d9a["writeJarToolsIfNecessary()"] 9784d9ca_c0aa_1e59_4a4b_7a54c1f53d9a -->|calls| 1a799a36_3169_6c85_17f6_be7609356689 e16da5d1_b19e_4d45_229b_91569861926e["writeEntry()"] 1a799a36_3169_6c85_17f6_be7609356689 -->|calls| e16da5d1_b19e_4d45_229b_91569861926e 8bb6bce9_1656_8045_583c_506fe14b4306["prepareStoredEntry()"] 1a799a36_3169_6c85_17f6_be7609356689 -->|calls| 8bb6bce9_1656_8045_583c_506fe14b4306 style 1a799a36_3169_6c85_17f6_be7609356689 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootZipCopyAction.java lines 326–335
private void writeJarModeLibrary(String location, JarModeLibrary library) throws IOException {
String name = location + library.getName();
writeEntry(name, ZipEntryContentWriter.fromInputStream(library.openStream()), false,
(entry) -> prepareStoredEntry(library::openStream, false, entry));
if (BootZipCopyAction.this.layerResolver != null) {
Layer layer = BootZipCopyAction.this.layerResolver.getLayer(library);
Assert.state(this.layerIndex != null, "'layerIndex' must not be null");
this.layerIndex.add(layer, name);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does writeJarModeLibrary() do?
writeJarModeLibrary() is a function in the spring-boot codebase.
What does writeJarModeLibrary() call?
writeJarModeLibrary() calls 2 function(s): prepareStoredEntry, writeEntry.
What calls writeJarModeLibrary()?
writeJarModeLibrary() is called by 1 function(s): writeJarToolsIfNecessary.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free