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

contentAsString() — spring-boot Function Reference

Architecture documentation for the contentAsString() function in ApplicationResourceLoaderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d64ce718_5bf4_0550_fb50_df2654aa1e02["contentAsString()"]
  83564f03_9132_2c74_6dba_47b2498c5b8b["getIncludesProtocolResolvers()"]
  83564f03_9132_2c74_6dba_47b2498c5b8b -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  548af210_19bd_db8d_309b_623e4ebfdefe["getWithClassPathIncludesProtocolResolvers()"]
  548af210_19bd_db8d_309b_623e4ebfdefe -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  6535c203_2558_0fd1_47ab_62b5a88f5f1e["getWithClassPathWhenClassPathIsNullIncludesProtocolResolvers()"]
  6535c203_2558_0fd1_47ab_62b5a88f5f1e -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  48bc16b2_d515_b0ae_85d8_dcd083ca9931["getWithClassPathAndSpringFactoriesLoaderIncludesProtocolResolvers()"]
  48bc16b2_d515_b0ae_85d8_dcd083ca9931 -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  4624eff2_0e2a_301d_d7ba_fdc88e2c0b7b["getWithResourceLoaderIncludesProtocolResolvers()"]
  4624eff2_0e2a_301d_d7ba_fdc88e2c0b7b -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  1e9f3797_f3af_d14c_87e7_6c89678edc06["getWithResourceLoaderDelegatesLoading()"]
  1e9f3797_f3af_d14c_87e7_6c89678edc06 -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  f1a8ae8e_dda4_5341_8388_7d4f10a38cf0["getWithResourceLoaderAndSpringFactoriesLoaderIncludesProtocolResolvers()"]
  f1a8ae8e_dda4_5341_8388_7d4f10a38cf0 -->|calls| d64ce718_5bf4_0550_fb50_df2654aa1e02
  style d64ce718_5bf4_0550_fb50_df2654aa1e02 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/io/ApplicationResourceLoaderTests.java lines 326–328

	private String contentAsString(Resource resource) throws IOException {
		return resource.getContentAsString(StandardCharsets.UTF_8);
	}

Domain

Subdomains

Called By

  • getIncludesProtocolResolvers()
  • getWithClassPathAndSpringFactoriesLoaderIncludesProtocolResolvers()
  • getWithClassPathIncludesProtocolResolvers()
  • getWithClassPathWhenClassPathIsNullIncludesProtocolResolvers()
  • getWithResourceLoaderAndSpringFactoriesLoaderIncludesProtocolResolvers()
  • getWithResourceLoaderDelegatesLoading()
  • getWithResourceLoaderIncludesProtocolResolvers()

Frequently Asked Questions

What does contentAsString() do?
contentAsString() is a function in the spring-boot codebase.
What calls contentAsString()?
contentAsString() is called by 7 function(s): getIncludesProtocolResolvers, getWithClassPathAndSpringFactoriesLoaderIncludesProtocolResolvers, getWithClassPathIncludesProtocolResolvers, getWithClassPathWhenClassPathIsNullIncludesProtocolResolvers, getWithResourceLoaderAndSpringFactoriesLoaderIncludesProtocolResolvers, getWithResourceLoaderDelegatesLoading, getWithResourceLoaderIncludesProtocolResolvers.

Analyze Your Own Codebase

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

Try Supermodel Free