
io.brachu.johann.PortBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of johann Show documentation
Show all versions of johann Show documentation
Johann is a simple Java library that talks to docker-compose CLI.
package io.brachu.johann;
public class PortBinding {
private final String port;
public PortBinding(String binding) {
String[] split = binding.split(":", 2);
port = split[1].trim();
}
public String getPort() {
return port;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy