aaronp / eie   2.0.1

GitHub

Yet another IO library (in scala). Like better-files, but probably not as good, and using java.nio

Scala versions: 3.x

EIE

sbt test Coverage Status Maven Central Scaladoc

'EIE' is yet another IO project, written in scala. It's inspiration is from utilities in e.g. apache-commons and better-files (both good libraries).

It's mostly useful for pimping java.nio.Path, and providing the ToBytes and FromBytes type-classes, and exposing some other basic DAO operations on a file system.

You can read more about the design and check the documentation here

Usage

  import eie.io._

  val file: java.nio.Path = "my/file.txt".asPath.text = "hello world!"

  val contents: String = file.text

  file.delete()

Building

You can build/test/etc using the usual suspects:

sbt clean coverage test coverageReport doc