absolutePathString

JVM
JRE7
1.5
fun Path . absolutePathString ( ) : String
(source)

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.