getContentAsString() — spring-boot Function Reference
Architecture documentation for the getContentAsString() function in AbstractJsonTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dd8ce24d_ae54_bc94_c431_a08f0e2df55a["getContentAsString()"] 43d04388_716d_0f42_9283_a988eb346bc7["loadJson()"] 43d04388_716d_0f42_9283_a988eb346bc7 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a 008aaee1_a31a_37fe_4a56_a2534411e2d5["getLayersReturnsLayers()"] 008aaee1_a31a_37fe_4a56_a2534411e2d5 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a dfb34bac_17dc_c458_b704_f02e388214bc["loadJsonFromDistributionManifestList()"] dfb34bac_17dc_c458_b704_f02e388214bc -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a 7690ec8f_8894_4e0b_1eab_7516dd1396af["loadJsonFromDistributionManifest()"] 7690ec8f_8894_4e0b_1eab_7516dd1396af -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a 30180a75_1621_9476_d098_67951fdf5616["loadJsonFromImageManifest()"] 30180a75_1621_9476_d098_67951fdf5616 -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a d418b23d_753d_7479_2803_95836fe0b005["getContent()"] dd8ce24d_ae54_bc94_c431_a08f0e2df55a -->|calls| d418b23d_753d_7479_2803_95836fe0b005 style dd8ce24d_ae54_bc94_c431_a08f0e2df55a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/json/AbstractJsonTests.java lines 49–57
protected final String getContentAsString(String name) {
try (InputStream in = getContent(name)) {
return new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)).lines()
.collect(Collectors.joining("\n"));
}
catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getContentAsString() do?
getContentAsString() is a function in the spring-boot codebase.
What does getContentAsString() call?
getContentAsString() calls 1 function(s): getContent.
What calls getContentAsString()?
getContentAsString() is called by 5 function(s): getLayersReturnsLayers, loadJson, loadJsonFromDistributionManifest, loadJsonFromDistributionManifestList, loadJsonFromImageManifest.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free