public static DocPath fromParts(final boolean absolute, final String... parts) {
        if (parts == null || parts.length == 0) {
            return EMPTY_INSTANCE;
        } else {
            return new DocPath(List.of(parts), absolute);
        }
    }
Construct an absolute/relative {@link DocPath} from parts.
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java