Groovy对文件的操作 对文件的遍历 假设文件的原始内容为: hello,world 这里是北京 andorid and ios are good system第一种方法:使用 eachLine() //1.1 new 一个File def file = new File(filepath) //1.2 groov...
返回顶部