二进制流 处理非文本文件(例如:exe、图片、视频等文件) 
字符流 处理文本文件 
我认为正确。

解决方案 »

  1.   

    1.使用输出流就可以读出
    2.你的理解正确
    3.看一看java.sun.com的例子
      

  2.   

    ....
     byte[] content1 = file.getFileData();
             String content2=new String(content1);
             File file1=new File("f:\\"+name);
             
             FileOutputStream out=new FileOutputStream(file1);
             out.write(content1);
             out.close();
    .....
    大概就是 这点代码了...
      

  3.   

    to  noscar:byte[] content1 = file.getFileData()中file是什么?