import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter;
// 创建文件对象 FileWriter fw = new FileWriter(outputDirPath + File.separator + type + "CloneGroupInfo.csv"); BufferedWriter bw = new BufferedWriter(fw); bw1.write("groupId,repoList"); File dir = new File(inputDirPath); File[] files = dir.listFiles();
// getName() 获取名字 String rawGroupId = (new File(file)).getName().replace(".json", "");
String content = String.join("\n", (Iterable)lines);