采用以下方法从档案中读取:
fis1 = new FileInputStream(file1);
String data;
dis1 = new DataInputStream(fis);
buffread1=new BufferedReader(new InputStreamReader(dis1));
while( (data= buffread1.readLine())!=null){
}
如今,已经变成了“奥例”的错误。 现在,我想我可能无法阅读档案中的数据,因为这些数据储存在以下格式中。
#SP,IN-1009579,13:00:33,20/01/2010, $Bœ™šAe%N BVÈ–7$B™šAciC B]|XçF [s + ýŒ 01210B3âEªP6@·B.
the above is just one line of the file and i want to read every line of that file and carry out operation on the data that is read. Any pointers on how the above can be accomplished would be of great help.
卡车