private static void validateParts(final List<String> parts) {
        if (parts != null) {
            for (final String part : parts) {
                validatePart(part);
            }
        }
    }
Construct a {@link DocPath} from a path string, e.g. {@code /foo/bar}.
A leading {@code /} means the path is absolute. Any trailing {@code /}
will be stripped.
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java