A wrapper for scala.io.Source
that provides additional methods.
A wrapper for scala.io.Source
that provides additional methods.
By importing the implicit conversion functions, you can use the methods
in this class transparently from a java.io.File
object.
import grizzled.io.Implicits._ val source = Source.fromFile(new java.io.File("/tmp/foo/bar")) source.firstNonblankLine.getOrElse("")