joinPath

abstract fun joinPath(base: Path, vararg parts: String): Path(source)

Resolves strings from parts against a base path. This method works with the path structure and doesn't check if the path actually exists in the filesystem.

Return

The resolved path object.

Parameters

base

The base path for resolution.

parts

The path strings to resolve.

Throws

if any of the parts is an absolute path.