niok-android / ch.tutteli.niok / java.nio.file.Path / newFile

newFile

fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path (source)

Resolve the given file and calls createDirectory.