Advertisement
Guest User

Untitled

a guest
May 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import java.nio.file.{Path, Paths}
  2. import scalaz.stream.io
  3.  
  4. val content: Vector[String] = {
  5. val path: Path = Paths.get(getClass.getResource("/file-name").toURI)
  6. (io linesR path.toString).runLog.run
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement