FileUtil.getTotalLines()支持CR换行符

This commit is contained in:
Looly
2024-08-29 09:50:07 +08:00
parent 63b2f7c70d
commit c459a0f613
5 changed files with 42 additions and 7 deletions

View File

@@ -0,0 +1 @@
# 这是一行注释,读取时应忽略
Can't render this file because it contains an unexpected character in line 1 and column 141.

View File

@@ -0,0 +1,7 @@
# 这是一行注释,读取时应忽略
a,b,c,d
1,2,3,4
# 这是一行注释,读取时应忽略
q,w,e,r,"我是一段
带换行的内容"
a,s,d,f
Can't render this file because it has a wrong number of fields in line 2.