join

open fun join(first: String, vararg rest: String): String

join()

Joins multiple path segments together.

This method variant accepts a string path and returns a string path.

Return

The joined path.

Parameters

first

The first path segment.

rest

The remaining path segments.

See also


open fun join(first: Path, vararg rest: Path): String

join()

Joins multiple path segments together.

This method variant accepts a Path object and returns a String.

Return

The joined path as a Kotlin path.

Parameters

first

The first path segment.

rest

The remaining path segments.

See also


abstract fun join(first: Path, vararg rest: Path): String

join()

Joins multiple path segments together.

This method variant accepts a NodePath object and returns a String.

Return

The joined path as a Node path.

Parameters

first

The first path segment.

rest

The remaining path segments.

See also


open fun join(paths: Iterable<Path>): String

join()

Joins multiple path segments together.

This method variant accepts an Iterable suite of NodePath objects and returns a String.

Return

The joined path as a Node path.

Parameters

paths

Iterable of paths.

See also


abstract fun join(sequence: Sequence<Path>): String

join()

Joins multiple path segments together.

This method variant accepts a Sequence of NodePath objects and returns a String.

Return

The joined path as a Node path.

Parameters

sequence

The sequence of path segments.

See also