v1.6.21
  • Solutions
    • Multiplatform Mobile
    • Multiplatform for other platforms
    • Server-side
    • Web frontend
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← 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
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains
esc