absolutePathString

JVM
JRE7
1.4
@ExperimentalPathApi fun Path.absolutePathString(): String

Converts this possibly relative path to an absolute path and returns its string representation.

Basically, this method is a combination of calling absolute and pathString.

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.