Skip to content

ma-silva/steppe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Steppe

A simple Scala CSV reader.

Usage

val csv = new File(getClass.getResource("/csv.csv").getPath)
val reader = new RichCsvReader[(String,Int,Int,Int,String)](csv)

val iterator = reader.iterator
while(iterator.hasNext){
  println(iterator.next())
}

//Using for comprehensions.
for(line <- reader){
  println(line._1) // gets column 1
  println(line._5) // gets column 5
}

License

steppe is Open Source and available under the Apache 2 License.

About

A simple Scala CSV reader.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages