class CommandLinePathParser {

    public Path parse(final String uri) throws HostParserException {
        final Host host = new HostParser(factory).get(uri);
        if(StringUtils.isBlank(host.getDefaultPath())) {
            return new Path(String.valueOf(Path.DELIMITER), EnumSet.of((Path.Type.directory)));
        }
        return new Path(PathNormalizer.normalize(host.getDefaultPath()), EnumSet.of(detector.detect(host.getDefaultPath())));
    }

    public  CommandLinePathParser(final CommandLine input);
    public  CommandLinePathParser(final CommandLine input, final ProtocolFactory factory);

}