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

isZipArchive() — spring-boot Function Reference

Architecture documentation for the isZipArchive() function in ProjectGenerator.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  020a2c63_4625_558c_773f_1caf07c35c30["isZipArchive()"]
  e0179de4_bf5b_0060_a460_319095eca217["generateProject()"]
  e0179de4_bf5b_0060_a460_319095eca217 -->|calls| 020a2c63_4625_558c_773f_1caf07c35c30
  c1199054_9d68_aebe_596b_101b4ef553fa["shouldExtract()"]
  c1199054_9d68_aebe_596b_101b4ef553fa -->|calls| 020a2c63_4625_558c_773f_1caf07c35c30
  style 020a2c63_4625_558c_773f_1caf07c35c30 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java lines 83–93

	private boolean isZipArchive(ProjectGenerationResponse entity) {
		if (entity.getContentType() != null) {
			try {
				return ZIP_MIME_TYPE.equals(entity.getContentType().getMimeType());
			}
			catch (Exception ex) {
				// Ignore
			}
		}
		return false;
	}

Domain

Subdomains

Frequently Asked Questions

What does isZipArchive() do?
isZipArchive() is a function in the spring-boot codebase.
What calls isZipArchive()?
isZipArchive() is called by 2 function(s): generateProject, shouldExtract.

Analyze Your Own Codebase

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

Try Supermodel Free