public String delimitedBy(final String delimiter) {
        if (parentParts.isEmpty() && leafPart == null) {
            return absolute
                    ? DELIMITER
                    : "";
        } else {
            if (absolute) {
                return DELIMITER + String.join(delimiter, getParts());
            } else {
                return String.join(delimiter, getParts());
            }
        }
    }
Append parts onto the end of this and return a new {@link DocPath}
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java