我拋出了readLine()的IO異常,好奇怪。
public String readLine() throws IOException {
return readLine(false);
}
public String readLine() throws IOException {
return readLine(false);
}
2015-11-02
JDK1.4之前 用阻塞I/O ,之后出現了java NIO ,發展到現在又出現了netty,mina這樣的NIO通信框架,有興趣可以多了解。
2015-10-23