A Java NIO filechannel is a channel that is connected to a file. Using a file channel you can read data from a file, and write data to a file. A filechannel cannot be set into non-blocking mode. It always runs in blocking mode. Opening a filechannel Before you can use a filechannel you must open it. You cannot open a filechannel directly. You need to obtain a filechannel via an InputStream, Ou...
by redcap0 - 垃圾帖回收 - 2013-06-07 22:02:18 阅读(3) 回复(0)