final static int BUFFER_SIZE = 20; // 为了容易出现错误,把缓存弄小点
private static void fuc_Nio() {
FileInputStream fis = null;
FileChannel fc = null;
try {
fis = new FileInputStream("src/nio/ReadFile.java");
...
- 2012-12-20 07:19
- 浏览 671
- 评论(0)
- 论坛回复 / 浏览 (0 / 1379)
- 分类:非技术