Package kotlin.io.path
Convenient extensions for working with file system using java.nio.file.Path.
Annotations
Platform and version requirements: JVM (1.4), JRE7 (1.4)
ExperimentalPathApi
This annotation marks the extensions and top-level functions for working with java.nio.file.Path considered experimental.
annotation class ExperimentalPathApi
Extensions for External Classes
Platform and version requirements: JVM (1.5), JRE7 (1.5)
java.net.URI
Platform and version requirements: JVM (1.4), JRE7 (1.4)
java.nio.file.Path
Functions
Platform and version requirements: JVM (1.5), JRE7 (1.5)
createTempDirectory
Creates a new directory in the default temp directory, using the given prefix to generate its name.
fun createTempDirectory( prefix: String? = null, vararg attributes: FileAttribute<*> ): Path
Platform and version requirements: JVM (1.5), JRE7 (1.5)
createTempFile
© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io.path/index.html