// Path: src/main/java/pl/domzal/junit/docker/rule/ex/InvalidVolumeFrom.java
// public class InvalidVolumeFrom extends IllegalStateException {
// 
//     public InvalidVolumeFrom(String message) {
//         super(message);
//     }
// 
// }


import java.util.regex.Pattern;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.SystemUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pl.domzal.junit.docker.rule.ex.InvalidVolumeFrom;
package pl.domzal.junit.docker.rule;




class DockerRuleMountBuilder implements DockerRuleMountToBuilder {

    private static Logger log = LoggerFactory.getLogger(DockerRuleMountBuilder.class);

    private static final String OSX_HOME = "/Users";
    private static final String WIN_HOME_WIN_STYLE = "C:\\Users";
    private static final String WIN_HOME_UNIX_STYLE = "/c/Users";

    private DockerRuleBuilder parentBuilder;

    private String from;
    private String to;
    private String mode;

// Path: src/main/java/pl/domzal/junit/docker/rule/ex/InvalidVolumeFrom.java
// public class InvalidVolumeFrom extends IllegalStateException {
// 
//     public InvalidVolumeFrom(String message) {
//         super(message);
//     }
// 
// }


// Path: src/main/java/pl/domzal/junit/docker/rule/DockerRuleMountBuilder.java
import java.util.regex.Pattern;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.SystemUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pl.domzal.junit.docker.rule.ex.InvalidVolumeFrom;

package pl.domzal.junit.docker.rule;




class DockerRuleMountBuilder implements DockerRuleMountToBuilder {

    private static Logger log = LoggerFactory.getLogger(DockerRuleMountBuilder.class);

    private static final String OSX_HOME = "/Users";
    private static final String WIN_HOME_WIN_STYLE = "C:\\Users";
    private static final String WIN_HOME_UNIX_STYLE = "/c/Users";

    private DockerRuleBuilder parentBuilder;

    private String from;
    private String to;
    private String mode;

    DockerRuleMountBuilder(DockerRuleBuilder parentBuilder, String fromPathUnixStyle) throws InvalidVolumeFrom {