aaronp / eie

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



sbt test cucumber

'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


libraryDependencies += "com.github.aaronp" %% "eie" % "0.0.3"

in maven:


And then:

  import eie.io._

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

  val contents: String = file.text

  file.delete() // should return 'true'


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

sbt clean coveraget test coverageReport doc