Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 08:49 AM
5. java io + scala io
import java.io._
import scala.io._
val file = new File("/Volumes/.../application.conf")
val bufferedSource = new BufferedSource(new FileInputStream(file))
for (line <- bufferedSource.getLines) {
println(line)
}
bufferedSource.close
not works
not works