📅  最后修改于: 2022-03-11 14:52:22.634000             🧑  作者: Mango
try(BufferedReader br=new BufferedReader(new InputStreamReader(new FileInputStream("yourFile.csv"),StandardCharsets.UTF_8))){
String line;
while((line=br.readLine())!=null){
String[] split=line.split(",");
//use the data here
}
}