Home / Function/ writeArchive() — spring-boot Function Reference

writeArchive() — spring-boot Function Reference

Architecture documentation for the writeArchive() function in BootZipCopyAction.java from the spring-boot codebase.

Function java Archiving LauncherConfig calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  3fe856ea_6172_0b9f_fdb7_204be27f45a3["writeArchive()"]
  f3a3407d_fada_9128_f703_1824bfceeacf["execute()"]
  f3a3407d_fada_9128_f703_1824bfceeacf -->|calls| 3fe856ea_6172_0b9f_fdb7_204be27f45a3
  17e9405a_0960_c066_766e_403f01317ccf["closeQuietly()"]
  3fe856ea_6172_0b9f_fdb7_204be27f45a3 -->|calls| 17e9405a_0960_c066_766e_403f01317ccf
  1a61c3ae_d2b8_6252_e818_cfe8d0aeb902["setEncodingIfNecessary()"]
  3fe856ea_6172_0b9f_fdb7_204be27f45a3 -->|calls| 1a61c3ae_d2b8_6252_e818_cfe8d0aeb902
  21b4334e_926c_90c8_58f4_8ea96b19e63f["Processor()"]
  3fe856ea_6172_0b9f_fdb7_204be27f45a3 -->|calls| 21b4334e_926c_90c8_58f4_8ea96b19e63f
  430177d0_07bd_3253_4459_6b05ce663ff9["process()"]
  3fe856ea_6172_0b9f_fdb7_204be27f45a3 -->|calls| 430177d0_07bd_3253_4459_6b05ce663ff9
  40a2d94c_64cc_cc36_cff0_428f467bc9d9["finish()"]
  3fe856ea_6172_0b9f_fdb7_204be27f45a3 -->|calls| 40a2d94c_64cc_cc36_cff0_428f467bc9d9
  style 3fe856ea_6172_0b9f_fdb7_204be27f45a3 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 147–155

	private void writeArchive(CopyActionProcessingStream copyActions) throws IOException {
		OutputStream output = new FileOutputStream(this.output);
		try {
			writeArchive(copyActions, output);
		}
		finally {
			closeQuietly(output);
		}
	}

Domain

Subdomains

Calls

Called By

  • execute()

Frequently Asked Questions

What does writeArchive() do?
writeArchive() is a function in the spring-boot codebase.
What does writeArchive() call?
writeArchive() calls 5 function(s): Processor, closeQuietly, finish, process, setEncodingIfNecessary.
What calls writeArchive()?
writeArchive() is called by 1 function(s): execute.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free