File[] files = dir.listFiles(); for(int x=1;x<=files.length;x++) { al.add(new FileInputStream("F:\\split\\"+x+".part")); }
邓超军 发表于 2012-8-20 07:38 这一段代码很容易出现一个问题就是F:\split\中可能不仅仅存在.part文件,这样x的值就会大于part文件的数 ...