resolve

fun resolve(fileName: ByteString): Path

Resolve a file name against this path.

The file name is resolved by appending it to the list of names of this path.

Return

a path that is the file name resolved against this path

Parameters

fileName

the file name

Throws

if the file name is empty or contains the URI name separator /


Resolve a relative path against this path.

The relative path is resolved by appending the list of names of it to the list of names of this path.

Return

a path that is the relative path resolved against this path

Parameters

other

the relative path

See also