ConfigTreeConfigDataLoader Class — spring-boot Architecture
Architecture documentation for the ConfigTreeConfigDataLoader class in ConfigTreeConfigDataLoader.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigTreeConfigDataLoader.java lines 33–45
public class ConfigTreeConfigDataLoader implements ConfigDataLoader<ConfigTreeConfigDataResource> {
@Override
public ConfigData load(ConfigDataLoaderContext context, ConfigTreeConfigDataResource resource)
throws IOException, ConfigDataResourceNotFoundException {
Path path = resource.getPath();
ConfigDataResourceNotFoundException.throwIfDoesNotExist(resource, path);
String name = "Config tree '" + path + "'";
ConfigTreePropertySource source = new ConfigTreePropertySource(name, path, Option.AUTO_TRIM_TRAILING_NEW_LINE);
return new ConfigData(Collections.singletonList(source));
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free