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

getEntryNames() — spring-boot Function Reference

Architecture documentation for the getEntryNames() function in NativeImagePluginActionIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  bc5534f7_cf85_0138_00bf_d7c5a754e9cb["getEntryNames()"]
  46c6eb53_59ab_45ac_c66e_c72a13f57cd9["reachabilityMetadataConfigurationFilesAreCopiedToJar()"]
  46c6eb53_59ab_45ac_c66e_c72a13f57cd9 -->|calls| bc5534f7_cf85_0138_00bf_d7c5a754e9cb
  4452509a_dd32_c932_9eee_f36f1e6386d8["reachabilityMetadataConfigurationFilesFromFileRepositoryAreCopiedToJar()"]
  4452509a_dd32_c932_9eee_f36f1e6386d8 -->|calls| bc5534f7_cf85_0138_00bf_d7c5a754e9cb
  style bc5534f7_cf85_0138_00bf_d7c5a754e9cb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/NativeImagePluginActionIntegrationTests.java lines 171–180

	protected List<String> getEntryNames(File file) throws IOException {
		List<String> entryNames = new ArrayList<>();
		try (JarFile jarFile = new JarFile(file)) {
			Enumeration<JarEntry> entries = jarFile.entries();
			while (entries.hasMoreElements()) {
				entryNames.add(entries.nextElement().getName());
			}
		}
		return entryNames;
	}

Domain

Subdomains

Frequently Asked Questions

What does getEntryNames() do?
getEntryNames() is a function in the spring-boot codebase.
What calls getEntryNames()?
getEntryNames() is called by 2 function(s): reachabilityMetadataConfigurationFilesAreCopiedToJar, reachabilityMetadataConfigurationFilesFromFileRepositoryAreCopiedToJar.

Analyze Your Own Codebase

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

Try Supermodel Free