loadKey() — spring-boot Function Reference
Architecture documentation for the loadKey() function in OriginTrackedPropertiesLoader.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ecd739e6_42b1_b082_8427_424b389a4a4a["loadKey()"] 29618e87_6d5d_b620_c9e4_b6c387ac395b["loadKeyAndValue()"] 29618e87_6d5d_b620_c9e4_b6c387ac395b -->|calls| ecd739e6_42b1_b082_8427_424b389a4a4a ae9763e6_5eb4_3aa5_2998_c4404d32096f["isEndOfLine()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| ae9763e6_5eb4_3aa5_2998_c4404d32096f 378526a2_8421_735e_747c_464d07a07652["isPropertyDelimiter()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| 378526a2_8421_735e_747c_464d07a07652 9bd4aa4c_c96d_d7cf_c80a_7ccb5d80c0ab["read()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| 9bd4aa4c_c96d_d7cf_c80a_7ccb5d80c0ab c6961e9e_6aec_c5be_908f_fb572a709068["isWhiteSpace()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| c6961e9e_6aec_c5be_908f_fb572a709068 9df0a537_5c4e_83a1_0ab3_e5c28ec25007["getCharacter()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| 9df0a537_5c4e_83a1_0ab3_e5c28ec25007 6a5d37f5_cc0e_d3d0_dde2_88a6b0a47216["toString()"] ecd739e6_42b1_b082_8427_424b389a4a4a -->|calls| 6a5d37f5_cc0e_d3d0_dde2_88a6b0a47216 style ecd739e6_42b1_b082_8427_424b389a4a4a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedPropertiesLoader.java lines 138–154
private String loadKey(StringBuilder buffer, CharacterReader reader) throws IOException {
buffer.setLength(0);
boolean previousWhitespace = false;
while (!reader.isEndOfLine()) {
if (reader.isPropertyDelimiter()) {
reader.read();
return buffer.toString();
}
if (!reader.isWhiteSpace() && previousWhitespace) {
return buffer.toString();
}
previousWhitespace = reader.isWhiteSpace();
buffer.append(reader.getCharacter());
reader.read();
}
return buffer.toString();
}
Domain
Subdomains
Calls
- getCharacter()
- isEndOfLine()
- isPropertyDelimiter()
- isWhiteSpace()
- read()
- toString()
Called By
Source
Frequently Asked Questions
What does loadKey() do?
loadKey() is a function in the spring-boot codebase.
What does loadKey() call?
loadKey() calls 6 function(s): getCharacter, isEndOfLine, isPropertyDelimiter, isWhiteSpace, read, toString.
What calls loadKey()?
loadKey() is called by 1 function(s): loadKeyAndValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free