会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
code never lies
博客园
首页
新随笔
联系
订阅
管理
2018年12月17日
scala文件读取报错“java.nio.charset.MalformedInputException: Input length = 1”
摘要: 读取文件时设置的字符编码错误,查看原文件的编码,在Source.fromFile中重新设置即可
阅读全文
posted @ 2018-12-17 14:56 tele
阅读(1179)
评论(0)
推荐(0)
编辑
scala读写文件 comparing values of types Unit and Int using `!=' will always yield true
摘要: 由于scala没有对写入文件的支持,所以写文件时通常借助java进行IO操作
阅读全文
posted @ 2018-12-17 14:50 tele
阅读(741)
评论(0)
推荐(0)
编辑
公告