Niok - java.nio.file for Kotlin
Niok provides a Kotlin idiomatic API for java.nio.file (the package for non-blocking I/O file operations). We believe that using Files
decreases readability => extension functions to the rescue
Next to providing delegations to Files
it also delegates to Kotlin's built-in extension functions for File
and provides additional functions.
Installation
Niok is published to maven central, jcenter and bintray. Following an example if you use gradle and jcenter:
repositories { jcenter() }
dependencies {
implementation 'ch.tutteli.niok:niok:1.4.1'
}
Documentation
Visit https://robstoll.github.io/niok/kdoc.
Contribute
You found a bug, a delegation to Files
is missing or there is something else you would like to improve? Please open an issue, contributions are more than welcome
License
Niok is licensed under Apache 2.0.