摘要:
管道对管道的文件拷贝publicstaticlongforChannel(Filef1,Filef2)throwsException{longtime=newDate().getTime();intlength=2097152;FileInputStreamin=newFileInputStream(f1);FileOutputStreamout=newFileOutputStream(f2);FileChannelinC=in.getChannel();FileChanneloutC=out.getChannel();ByteBufferb=null;while(true){if(inC.p 阅读全文
posted @ 2011-06-09 13:50
白开水皮皮
阅读(1739)
评论(1)
推荐(0)
浙公网安备 33010602011771号