All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.io.FileLinesContent.scala Maven / Gradle / Ivy

package org.specs2
package io

import java.io.File
import text._

/**
 * Default implementation for reading lines out of a file
 */
object FileLinesContent extends LinesContent[File] with FileReader {
  def lines(f: File): Seq[String] = readLines(f.getPath)
  def name(f: File) = f.getPath
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy