← Docs
kotlin-stdlib / kotlin.io.path / java.nio.file.Path / readSymbolicLink

readSymbolicLink

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

Reads the target of a symbolic link located by this path.

Exceptions

UnsupportedOperationException - if symbolic links are not supported by this implementation.

NotLinkException - if the target is not a symbolic link (optional specific exception, some implementations may throw a more general one).

See Also

Files.readSymbolicLink

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .