com.r3corda.core / java.nio.file.Path

### Extensions for java.nio.file.Path

createDirectories | `fun Path.createDirectories(vararg attrs: FileAttribute<*>): Path`
createDirectory | `fun Path.createDirectory(vararg attrs: FileAttribute<*>): Path`
deleteIfExists | `fun Path.deleteIfExists(): Boolean`
div | `operator fun Path.div(other: String): Path` Allows you to write code like: Paths.get("someDir") / "subdir" / "filename" but using the Paths API to avoid platform separator problems.
exists | `fun Path.exists(vararg options: LinkOption): Boolean`
isDirectory | `fun Path.isDirectory(vararg options: LinkOption): Boolean`
isRegularFile | `fun Path.isRegularFile(vararg options: LinkOption): Boolean`
list | `fun <R> Path.list(block: (Stream<Path>) -> R): R`
moveTo | `fun Path.moveTo(target: Path, vararg options: CopyOption): Path`
read | `fun <R> Path.read(vararg options: OpenOption, block: (InputStream) -> R): R`
readAll | `fun Path.readAll(): ByteArray`
readLines | `fun <R> Path.readLines(charset: Charset = UTF_8, block: (Stream<String>) -> R): R`
size | `val Path.size: Long`
write | `fun Path.write(createDirs: Boolean = false, vararg options: OpenOption = emptyArray(), block: (OutputStream) -> Unit): Unit`
writeLines | `fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = UTF_8, vararg options: OpenOption): Path`