try{
InputStream flux=new FileInputStream("Your_File");
InputStreamReader lecture=new InputStreamReader(flux);
BufferedReader buff=new BufferedReader(lecture);
String ligne;
while ((ligne=buff.readLine())!=null){
//Do the action that you want to do for each ligne.
//If I well understand you need, split each ligne to give each columns.
}
buff.close();
}
catch (Exception e){
System.out.println(e.toString());
}
你要做的就是使用这样的东西:
我希望你知道这正是你需要的。你知道吗
相关问题 更多 >
编程相关推荐