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

getRelativeClasspathLocation() — spring-boot Function Reference

Architecture documentation for the getRelativeClasspathLocation() function in Log4J2LoggingSystemTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  ae26b444_14dc_48e1_f326_0b6590847b6f["getRelativeClasspathLocation()"]
  46cb4933_f85b_780a_9978_28c3c6be0b9c["withFile()"]
  46cb4933_f85b_780a_9978_28c3c6be0b9c -->|calls| ae26b444_14dc_48e1_f326_0b6590847b6f
  a407c060_4d67_f1a4_1f5b_63def151cdae["exceptionsIncludeClassPackaging()"]
  a407c060_4d67_f1a4_1f5b_63def151cdae -->|calls| ae26b444_14dc_48e1_f326_0b6590847b6f
  885ce17b_9e35_b4d2_fa39_1c2944a599d1["customExceptionConversionWord()"]
  885ce17b_9e35_b4d2_fa39_1c2944a599d1 -->|calls| ae26b444_14dc_48e1_f326_0b6590847b6f
  style ae26b444_14dc_48e1_f326_0b6590847b6f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystemTests.java lines 759–765

	private String getRelativeClasspathLocation(String fileName) {
		String defaultPath = ClassUtils.getPackageName(getClass());
		defaultPath = defaultPath.replace('.', '/');
		defaultPath = defaultPath + "/" + fileName;
		defaultPath = "classpath:" + defaultPath;
		return defaultPath;
	}

Domain

Subdomains

Frequently Asked Questions

What does getRelativeClasspathLocation() do?
getRelativeClasspathLocation() is a function in the spring-boot codebase.
What calls getRelativeClasspathLocation()?
getRelativeClasspathLocation() is called by 3 function(s): customExceptionConversionWord, exceptionsIncludeClassPackaging, withFile.

Analyze Your Own Codebase

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

Try Supermodel Free