Reading files from a directory in Scala

后端 未结 4 1252
深忆病人
深忆病人 2020-12-23 18:20

How do I get the list of files (or all *.txt files for example) in a directory in Scala. The Source class does not seem to help.

4条回答
提交回复
热议问题