loadFrom() — spring-boot Function Reference
Architecture documentation for the loadFrom() function in ProjectInfoAutoConfiguration.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 96ace72f_965e_3d18_444b_9c110bf8b844["loadFrom()"] 9fb8c1dc_f980_6774_fce3_453b4e8b13ce["gitProperties()"] 9fb8c1dc_f980_6774_fce3_453b4e8b13ce -->|calls| 96ace72f_965e_3d18_444b_9c110bf8b844 80f51cae_8265_323f_2b7f_6b44efa2b735["buildProperties()"] 80f51cae_8265_323f_2b7f_6b44efa2b735 -->|calls| 96ace72f_965e_3d18_444b_9c110bf8b844 6ac63106_06f7_2832_f811_8a637086d192["loadSource()"] 96ace72f_965e_3d18_444b_9c110bf8b844 -->|calls| 6ac63106_06f7_2832_f811_8a637086d192 style 96ace72f_965e_3d18_444b_9c110bf8b844 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/info/ProjectInfoAutoConfiguration.java lines 78–88
protected Properties loadFrom(Resource location, String prefix, Charset encoding) throws IOException {
prefix = prefix.endsWith(".") ? prefix : prefix + ".";
Properties source = loadSource(location, encoding);
Properties target = new Properties();
for (String key : source.stringPropertyNames()) {
if (key.startsWith(prefix)) {
target.put(key.substring(prefix.length()), source.get(key));
}
}
return target;
}
Domain
Subdomains
Calls
- loadSource()
Called By
- buildProperties()
- gitProperties()
Source
Frequently Asked Questions
What does loadFrom() do?
loadFrom() is a function in the spring-boot codebase.
What does loadFrom() call?
loadFrom() calls 1 function(s): loadSource.
What calls loadFrom()?
loadFrom() is called by 2 function(s): buildProperties, gitProperties.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free