You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that each write opens a new file connection and writes at the beginning. I've done a basic test, and in fact each write writes at the end of the file, that is, they append.
Furthermore, the suggestion in the comment of using openOutput is not anymore valid; the Output trait does not have that method, but it has outputProcessor. But even then, the OutputProcessor doesn't have itself a write method. The doc api from http://jesseeichar.github.com/scala-io-doc/0.4.2/api/index.html#scalax.io.processing.OutputProcessor illustrates the example of using the method asOutput but that doesn't exist either.
So I'm totally confused. Question, how can I write to a file in a batch?
The text was updated successfully, but these errors were encountered:
is that each write opens a new file connection and writes at the
beginning. I've done a basic test, and in fact each write writes at the
end of the file, that is, they append.
I read in: http://jesseeichar.github.com/scala-io-doc/0.4.2/index.html#!/core/basic_output
that each
write
opens a new file connection and writes at the beginning. I've done a basic test, and in fact eachwrite
writes at the end of the file, that is, they append.Furthermore, the suggestion in the comment of using
openOutput
is not anymore valid; theOutput
trait does not have that method, but it hasoutputProcessor
. But even then, theOutputProcessor
doesn't have itself awrite
method. The doc api from http://jesseeichar.github.com/scala-io-doc/0.4.2/api/index.html#scalax.io.processing.OutputProcessor illustrates the example of using the methodasOutput
but that doesn't exist either.So I'm totally confused. Question, how can I write to a file in a batch?
The text was updated successfully, but these errors were encountered: