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