tags:

views:

79

answers:

1

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

If you can also tell how to replace or remove a particular line from a text file - it'd be also interesting.

+1  A: 

Using java classes or waiting for scala 2.9's scala.io

Eastsun