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

Extensions for java.net.URI

JVM
JRE7
1.5

toPath

Converts this URI to a Path object.

fun URI . toPath ( ) : Path
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 .