File src = new File("d:\chengcheng.swf");
File dest = new File("e:\cheng\chengcheng.swf");FileInputStream in = new FileInputStream(src);
FileOutputStream out = new FileOutputStream(dest);try
{
byte[] buf = new byte[1024];
int offset = 0;
int ret = 0;
while ( (ret = in.read(buf,offset,1024)) != -1)
{
out.write(buf,offset,ret);
}
}
catch (IOException e)
{}
File dest = new File("e:\cheng\chengcheng.swf");FileInputStream in = new FileInputStream(src);
FileOutputStream out = new FileOutputStream(dest);try
{
byte[] buf = new byte[1024];
int offset = 0;
int ret = 0;
while ( (ret = in.read(buf,offset,1024)) != -1)
{
out.write(buf,offset,ret);
}
}
catch (IOException e)
{}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货