BufferedReader in= new BufferedReader(new FileReader("d:\\co\\work3.sql"));tring input=new String();input=in.readLine();
用过几个,但之后看Java 的Documents上说它们都实现一个DataOutput或者DataInput接口。而那个DataInput接口的return value如下:Reads four input bytes and returns an int value. Let a be the first byte read, b be the second byte, c be the third byte, and d be the fourth byte. The value returned is: (((a & 0xff) << 24) | ((b & 0xff) << 16) | ((c & 0xff) << 8) | (d & 0xff))
(((a & 0xff) << 24) | ((b & 0xff) << 16) |
((c & 0xff) << 8) | (d & 0xff))
Java和Unix亲近一些