public static Path fromString(String path) {
        return fromString(path, "/");
    }
Creates a path from a string. The string is treated as a relative path, and all redundant '/'-characters are
stripped.

@param path the relative path that this path should represent
@return a path object that may be used with the application package
integration/intellij/src/main/java/ai/vespa/intellij/schema/utils/Path.java