本帖最后由 敷衍ゝ微笑掩盖 于 2014-7-1 08:33 编辑
------- <a target="blank">android培训</a>、<a target="blank">java培训</a>、期待与您交流! ---------- FileInputStream fis = new FileInputStream(“源文件”); FileOutStream fos = null; byte[] b = new byte[1024*1024]; Int cout =1 Int len=0; While(len=fis.read(b)!=-1){ Fos = new FileOutputStream((cout++)+”.part”); }
|