📄 fileprocess.java
字号:
/* * fileProcess.java * * Created on 2004年9月18日, 上午9:43 *//** * * @author litertiger */import java.io.*;public class fileProcess { public fileProcess() { try{ DataInputStream dis=new DataInputStream(new FileInputStream("f:\\records.txt")); } catch(IOException e) { System.out.checkError(e); /** Creates a new instance of fileProcess */ } for(;;) { //设置记录由 int long double 组成 int fld1; long fld2; double fld3; try{ fld1=dis.readInt(); fld2=dis.readLong(); fld3=dis.readDouble(); System.out.println(fld1+" "+fld2+" "+fld3); } catch(EOFException e) { break; } } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -