InputStream in = fi.getInputStream();
FileOutputStream fos = new FileOutputStream(fudir + "/" + fileName);
byte[] buf = new byte[1024];
int len = -1;
while((len = in.read(buf)) != -1)
{
fos.write(buf,0,len);
}
InputStream in = fi.getInputStream();
FileOutputStream fos = new FileOutputStream(fudir + "/" + fileName);
byte[] buf = new byte[1024];
int len = -1;
while((len = in.read(buf)) != -1)
{
fos.write(buf,0,len);
}

被折叠的 条评论
为什么被折叠?