用NIO實現簡單的文件複製

public static void main(String[] args) throws IOException { /* 不能直接打開一個FileChannel, 須要經過使用一個InputStream、OutputStream或RandomAccessFile來獲取一個FileChannel實例 */ ReadableByteChannel readChann
相關文章
相關標籤/搜索