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

getParts() — spring-boot Function Reference

Architecture documentation for the getParts() function in Binding.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  f1f62a39_5579_7ef1_5122_9a6b9263f6bf["getParts()"]
  e685b7dc_58ca_fb2e_39da_585f96950c9b["getContainerDestinationPath()"]
  e685b7dc_58ca_fb2e_39da_585f96950c9b -->|calls| f1f62a39_5579_7ef1_5122_9a6b9263f6bf
  4789391a_c9e7_8a23_f99a_10ff40e08aae["toString()"]
  f1f62a39_5579_7ef1_5122_9a6b9263f6bf -->|calls| 4789391a_c9e7_8a23_f99a_10ff40e08aae
  style f1f62a39_5579_7ef1_5122_9a6b9263f6bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/Binding.java lines 87–104

	private List<String> getParts() {
		// Format is <host>:<container>:[<options>]
		List<String> parts = new ArrayList<>();
		StringBuilder buffer = new StringBuilder();
		for (int i = 0; i < this.value.length(); i++) {
			char ch = this.value.charAt(i);
			char nextChar = (i + 1 < this.value.length()) ? this.value.charAt(i + 1) : '\0';
			if (ch == ':' && nextChar != '\\') {
				parts.add(buffer.toString());
				buffer.setLength(0);
			}
			else {
				buffer.append(ch);
			}
		}
		parts.add(buffer.toString());
		return parts;
	}

Subdomains

Calls

Frequently Asked Questions

What does getParts() do?
getParts() is a function in the spring-boot codebase.
What does getParts() call?
getParts() calls 1 function(s): toString.
What calls getParts()?
getParts() is called by 1 function(s): getContainerDestinationPath.

Analyze Your Own Codebase

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

Try Supermodel Free