write() — spring-boot Function Reference
Architecture documentation for the write() function in BuildImageMojo.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 859e1079_9841_b40a_67db_36a4cc513b4a["write()"] 120e021c_e499_470a_8495_10d1f243f24d["writeTo()"] 120e021c_e499_470a_8495_10d1f243f24d -->|calls| 859e1079_9841_b40a_67db_36a4cc513b4a 2c77b4dc_55ee_1e9b_294f_74abc348f971["convert()"] 859e1079_9841_b40a_67db_36a4cc513b4a -->|calls| 2c77b4dc_55ee_1e9b_294f_74abc348f971 style 859e1079_9841_b40a_67db_36a4cc513b4a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/BuildImageMojo.java lines 445–458
private void write(ZipEntry jarEntry, @Nullable EntryWriter entryWriter, TarArchiveOutputStream tar) {
try {
TarArchiveEntry tarEntry = convert(jarEntry);
tar.putArchiveEntry(tarEntry);
if (tarEntry.isFile()) {
Assert.state(entryWriter != null, "'entryWriter' must not be null");
entryWriter.write(tar);
}
tar.closeArchiveEntry();
}
catch (IOException ex) {
throw new IllegalStateException(ex);
}
}
Domain
Subdomains
Calls
- convert()
Called By
- writeTo()
Source
Frequently Asked Questions
What does write() do?
write() is a function in the spring-boot codebase.
What does write() call?
write() calls 1 function(s): convert.
What calls write()?
write() is called by 1 function(s): writeTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free