← Docs
kotlin-stdlib / kotlin.io.path / java.net.URI / toPath

toPath

JVM
JRE7
1.5
fun URI . toPath ( ) : Path
(source)

Converts this URI to a Path object.

See Also

Paths.get

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 .