In Scala 2.8, how to write (add) a line to a file? Should I use Java clesses or are there Scala native functions for this?

In Scala 2.8, how to write (add) a line to a file? Should I use Java clesses or do I have my own Scala functions for this?

If you can also specify how to replace or remove a specific line from a text file - it would also be interesting.

+3
source share
1 answer

Using java classes or waiting for scala 2.9 scala.io

+2
source

Source: https://habr.com/ru/post/1763291/


All Articles