cczlg 发表于 2013-2-7 00:56:27

[导入]JAVA用流的方式保存文件ByteArrayOutputStream

int n=0;
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            while ((n=instr.read())!=-1)
                bos.write(n);
            FileOutputStream fos = new FileOutputStream(URL+"webhtml/&quo
文章来源:http://www.itshehui.com/forum.php?mod=viewthread&tid=857
页: [1]
查看完整版本: [导入]JAVA用流的方式保存文件ByteArrayOutputStream