absolute

JVM
JRE7
1.5
fun Path.absolute(): Path
(source)

Converts this possibly relative path to an absolute path.

If this path is already absolute, returns this path unchanged. Otherwise, resolves this path, usually against the default directory of the file system.

May throw an exception if the file system is inaccessible or getting the default directory path is prohibited.

See Path.toAbsolutePath for further details about the function contract and possible exceptions.